2020-01-09 11:28:25 +01:00
|
|
|
[Unit]
|
|
|
|
Description=RaspiSMS Daemons
|
|
|
|
Documentation=https://raspisms.raspberry-pi.fr
|
2020-01-09 14:29:37 +01:00
|
|
|
After=network-online.target apache2.service
|
2020-01-09 11:28:25 +01:00
|
|
|
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
|
2020-01-09 11:28:25 +01:00
|
|
|
WorkingDirectory=/opt/raspisms
|
|
|
|
Restart=on-failure
|
2020-01-09 14:29:37 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|