Line 0
Link Here
|
|
|
1 |
[Unit] |
2 |
Description=Webmin Administration Tool |
3 |
After=network.target remote-fs.target nss-lookup.target |
4 |
ConditionFileNotEmpty=%config% |
5 |
ConditionFileNotEmpty=%conf% |
6 |
|
7 |
[Service] |
8 |
# Webmin by default uses fork() |
9 |
Type=forking |
10 |
KillMode=mixed |
11 |
# Webmin is exiting with 1 on SIGTERM |
12 |
SuccessExitStatus=1 |
13 |
ExecStart=%exe% %conf% |
14 |
PIDFile=%pid% |
15 |
Environment="PERLLIB=%perllib%" LANG= |
16 |
ExecReload=/bin/kill -USR1 $MAINPID |
17 |
|
18 |
[Install] |
19 |
WantedBy=multi-user.target |