hmn/server/hmn.service

16 lines
307 B
SYSTEMD

[Unit]
Description=The Handmade Network website
After=network-online.target nss-lookup.target
[Service]
User=hmn
Group=hmn
ExecStart=/home/hmn/bin/hmn
WorkingDirectory=/home/hmn/hmn/
Restart=always
TimeoutStopSec=15
ExecStopPost=/home/hmn/hmn/server/adminmailer.sh %n
[Install]
WantedBy=multi-user.target