mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
bug correction
This commit is contained in:
parent
a5028e5ff3
commit
169d050f95
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ sudo apt-get install syncthing -y --force-yes
|
||||||
|
|
||||||
# Install and monitor service
|
# Install and monitor service
|
||||||
GUIADDRESS="127.0.0.1:$GUIPORT"
|
GUIADDRESS="127.0.0.1:$GUIPORT"
|
||||||
sed -i "s@GUIADDRESSTOCHANGE@$GUIADDRESS@g" ../cong/init.syncthing
|
sed -i "s@GUIADDRESSTOCHANGE@$GUIADDRESS@g" ../conf/init.syncthing
|
||||||
sudo cp ../cong/init.syncthing /etc/init.d/syncthing
|
sudo cp ../conf/init.syncthing /etc/init.d/syncthing
|
||||||
sudo chmod 0755 /etc/init.d/syncthing
|
sudo chmod 0755 /etc/init.d/syncthing
|
||||||
sudo update-rc.d syncthing defaults
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue