2024-01-05 19:12:57 +01:00
|
|
|
[Unit]
|
2024-01-05 19:12:58 +01:00
|
|
|
Description=Webmin server daemon
|
2024-01-05 19:13:01 +01:00
|
|
|
Wants=network-online.target
|
|
|
|
After=network.target network-online.target
|
2024-01-05 19:12:57 +01:00
|
|
|
|
|
|
|
[Service]
|
2024-01-05 19:13:01 +01:00
|
|
|
Environment="PERLLIB=/usr/share/webmin"
|
|
|
|
ExecStart=/usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
|
|
|
|
ExecStop=/usr/bin/kill $MAINPID
|
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
2024-01-05 19:12:58 +01:00
|
|
|
PIDFile=/var/log/webmin/miniserv.pid
|
|
|
|
Type=forking
|
2024-01-05 19:13:01 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=2s
|
|
|
|
TimeoutSec=15s
|
|
|
|
TimeoutStopSec=300s
|
2024-01-05 19:12:57 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|