mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
update
This commit is contained in:
parent
10fe23054b
commit
556b23bbe3
1 changed files with 1 additions and 2 deletions
|
@ -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 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 syncthing@$SYNCUSER -l /var/log/syncthing.log
|
||||||
sudo yunohost service add syncthing
|
|
||||||
sudo systemctl start syncthing@$SYNCUSER.service
|
sudo systemctl start syncthing@$SYNCUSER.service
|
||||||
|
|
||||||
# Configure logrotate if present
|
# Configure logrotate if present
|
||||||
|
|
Loading…
Add table
Reference in a new issue