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