hmn/server/cinera.service

17 lines
375 B
SYSTEMD

[Unit]
Description=Miblo's Cinera program
After=network-online.target nss-lookup.target
[Service]
Type=forking
User=annotations
Group=annotations
ExecStart=/home/hmn/hmn/cinera/start.sh
ExecStop=/home/hmn/hmn/cinera/stop.sh
PIDFile=/home/hmn/hmn/cinera/data/cinera.pid
Restart=always
ExecStopPost=/home/hmn/hmn/server/adminmailer.sh %n
[Install]
WantedBy=multi-user.target