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

debug install

This commit is contained in:
Biette Lahire 2016-06-04 14:33:44 +02:00
parent 33c6e9ce34
commit 82fed0c6ac

View file

@ -67,7 +67,7 @@ sudo apt-get update -qq
sudo apt-get install syncthing -y --force-yes
# Install and monitor service
sed -i '/^\[Service\]$/,/^\[/ s/^Restart=on-failure/Restart=always/' /lib/systemd/system/syncthing@.service
sudo sed -i '/^\[Service\]$/,/^\[/ s/^Restart=on-failure/Restart=always/' /lib/systemd/system/syncthing@.service
sudo systemctl daemon-reload
sudo systemctl enable syncthing@$SYNCUSER.service
#~ sudo yunohost service add -l /var/log/syncthing.log syncthing