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
|
2020-02-27 16:41:11 +01:00
|
|
|
ExecStart=/var/www/raspisms/bin/start.sh
|
|
|
|
ExecStop=/var/www/raspisms/bin/stop.sh
|
|
|
|
WorkingDirectory=/var/www/raspisms
|
2020-01-09 11:28:25 +01:00
|
|
|
Restart=on-failure
|
2020-01-09 14:29:37 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|