mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
move systemd conf to right place, do not use 777 for logs
This commit is contained in:
parent
9ef2f57a28
commit
16d92b21da
2 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ fi
|
|||
if [ ! -f $LOG_FILE ]
|
||||
then
|
||||
touch $LOG_FILE
|
||||
chmod 777 $LOG_FILE
|
||||
chmod 700 $LOG_FILE
|
||||
fi
|
||||
|
||||
#Run command to start daemons
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
[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=/opt/raspisms/bin/start.sh
|
||||
ExecStop=/opt/raspisms/bin/stop.sh
|
||||
WorkingDirectory=/opt/raspisms
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue