raspisms/confs/systemd/raspisms.service

17 lines
413 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
2020-02-27 17:19:07 +01:00
ExecStart=/usr/share/raspisms/bin/start.sh
ExecStop=/usr/share/raspisms/bin/stop.sh
WorkingDirectory=/usr/share/raspisms
Restart=on-failure
2020-01-09 14:29:37 +01:00
[Install]
WantedBy=multi-user.target