webmin.service 416 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Webmin Administration Tool
  3. After=network.target remote-fs.target nss-lookup.target
  4. ConditionFileNotEmpty=%config%
  5. ConditionFileNotEmpty=%conf%
  6. [Service]
  7. RemainAfterExit=yes
  8. KillMode=mixed
  9. # Webmin is exiting with 1 on SIGTERM
  10. SuccessExitStatus=1
  11. ExecStart=%exe% %conf%
  12. PIDFile=%pid%
  13. Environment="PERLLIB=%perllib%" LANG=
  14. ExecReload=/bin/kill -USR1 $MAINPID
  15. [Install]
  16. WantedBy=multi-user.target