raspisms/confs/systemd/raspisms.service

17 lines
395 B
SYSTEMD
Raw Normal View History

[Unit]
Description=RaspiSMS Daemons
Documentation=https://raspisms.raspberry-pi.fr
2020-01-09 14:29:37 +01:00
After=network-online.target apache2.service
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/raspisms/RaspiSMS Daemon Launcher.pid
ExecStart=/opt/raspisms/bin/start.sh
2020-01-09 14:29:37 +01:00
ExecStop=/opt/raspisms/bin/stop.sh
WorkingDirectory=/opt/raspisms
Restart=on-failure
2020-01-09 14:29:37 +01:00
[Install]
WantedBy=multi-user.target