[Unit]
Description=Usermin server daemon
Wants=network-online.target
After=network.target network-online.target

[Service]
Type=simple
Environment="PERLLIB=WEBMIN_LIBDIR"
ExecStart=WEBMIN_LIBDIR/miniserv.pl --nofork WEBMIN_CONFIG/miniserv.conf
ExecReload=WEBMIN_KILLCMD -HUP $MAINPID
Restart=on-failure
RestartSec=2s
TimeoutStopSec=300s

[Install]
WantedBy=multi-user.target
