1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00
This commit is contained in:
Lahire Biette 2018-01-13 14:10:27 +01:00 committed by GitHub
parent 10fe23054b
commit 556b23bbe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,8 +70,7 @@ sudo apt-get install syncthing -y --force-yes
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
sudo yunohost service add syncthing
sudo yunohost service add syncthing@$SYNCUSER -l /var/log/syncthing.log
sudo systemctl start syncthing@$SYNCUSER.service
# Configure logrotate if present