1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Rights for cron

This commit is contained in:
ericgaspar 2021-12-11 10:32:36 +01:00
parent 5158cb1e87
commit 578ce8d4f4
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 7 additions and 0 deletions

View file

@ -182,6 +182,7 @@ popd
ynh_script_progression --message="Installing the cron file..."
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"

View file

@ -92,6 +92,9 @@ ynh_script_progression --message="Restoring the cron file..."
ynh_restore_file --origin_path="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# CREATE LOG FILE
#=================================================

View file

@ -246,6 +246,9 @@ ynh_script_progression --message="Upgrading cron file..."
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# SETUP SUPERVISOR
#=================================================