summaryrefslogtreecommitdiff
path: root/app-admin/webmin/files/webmin.service
blob: 5bec85b97c8c21cee6e3aba5c491bf23709b1786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Webmin Administration Tool
After=network.target remote-fs.target nss-lookup.target
ConditionFileNotEmpty=%config%
ConditionFileNotEmpty=%conf%

[Service]
RemainAfterExit=yes
KillMode=mixed
# Webmin is exiting with 1 on SIGTERM
SuccessExitStatus=1
ExecStart=%exe% %conf%
PIDFile=%pid%
Environment="PERLLIB=%perllib%" LANG= 
ExecReload=/bin/kill -USR1 $MAINPID

[Install]
WantedBy=multi-user.target