1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

change sysinit to init.syncthing

This commit is contained in:
Lahire BIETTE 2015-05-29 00:47:06 +02:00
parent ade69efe8c
commit fae97814f9
3 changed files with 5 additions and 2 deletions

View file

@ -60,7 +60,8 @@ sed -i "s@GUIADDRESSTOCHANGE@$GUIADDRESS@g" ../conf/sysinit
sudo cp ../conf/sysinit /etc/init.d/syncthing
sudo chmod 0755 /etc/init.d/syncthing
sudo update-rc.d syncthing defaults
sudo yunohost service add -l /var/log/syncthing.log syncthing
#~ sudo yunohost service add -l /var/log/syncthing.log syncthing
sudo yunohost service add syncthing
sudo service syncthing start
# Configure logrotate if present

View file

@ -11,7 +11,9 @@ sudo update-rc.d -f syncthing remove
sudo rm -f /etc/init.d/syncthing
# Remove syncthing binairy
sudo apt-get remove syncthing
sudo apt-get autoremove syncthing -y
sudo rm /etc/apt/sources.list.d/syncthing-release.list
sudo apt-get update
# Backup syncthign SYNCHOME directory
sudo mv $SYNCHOME $SYNCHOME.old