add logrotate

This commit is contained in:
Adrien Beudin
2015-02-16 11:59:22 +01:00
parent f670ef1fc0
commit c6dbb53709
4 changed files with 12 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ final_path=/opt/yunohost/ffsync
sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path
sudo cp ../conf/ffsync /etc/init.d/
sudo cp ../conf/ffsync.logrotate /etc/logrotate.d/ffsync
# Set permissions to ffsync directory
sudo useradd ffsync -d $final_path