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:
parent
33c6e9ce34
commit
82fed0c6ac
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ sudo apt-get update -qq
|
||||||
sudo apt-get install syncthing -y --force-yes
|
sudo apt-get install syncthing -y --force-yes
|
||||||
|
|
||||||
# Install and monitor service
|
# 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 daemon-reload
|
||||||
sudo systemctl enable syncthing@$SYNCUSER.service
|
sudo systemctl enable syncthing@$SYNCUSER.service
|
||||||
#~ sudo yunohost service add -l /var/log/syncthing.log syncthing
|
#~ sudo yunohost service add -l /var/log/syncthing.log syncthing
|
||||||
|
|
Loading…
Add table
Reference in a new issue