mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
cron owner should be root
This commit is contained in:
parent
681db5c160
commit
b17c7909cc
2 changed files with 3 additions and 1 deletions
|
@ -130,6 +130,7 @@ done
|
|||
ynh_script_progression --message="Setting up cron..."
|
||||
|
||||
ynh_add_config --template="../conf/freshrss.cron" --destination="/etc/cron.d/$app"
|
||||
chown root: "/etc/cron.d/$app"
|
||||
chmod 644 "/etc/cron.d/$app"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -146,6 +146,7 @@ chown -R $app:www-data "$final_path"
|
|||
ynh_script_progression --message="Setting up cron..."
|
||||
|
||||
ynh_add_config --template="../conf/freshrss.cron" --destination="/etc/cron.d/$app"
|
||||
chown root: "/etc/cron.d/$app"
|
||||
chmod 644 "/etc/cron.d/$app"
|
||||
|
||||
if [ -f /tmp/FreshRSS.log ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue