mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
Update install
This commit is contained in:
parent
91300c8c77
commit
672c768cf1
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ sudo systemctl start syncthing@$SYNCUSER.service
|
||||||
|
|
||||||
# Configure logrotate if present
|
# Configure logrotate if present
|
||||||
if [ -d "/etc/logrotate.d" ]; then
|
if [ -d "/etc/logrotate.d" ]; then
|
||||||
|
sed -i "s@SYNCUSER@$SYNCUSER@g" ../conf/logrotate.conf
|
||||||
sudo cp ../conf/logrotate.conf /etc/logrotate.d/syncthing
|
sudo cp ../conf/logrotate.conf /etc/logrotate.d/syncthing
|
||||||
sudo chmod 0755 /etc/logrotate.d/syncthing
|
sudo chmod 0755 /etc/logrotate.d/syncthing
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue