1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00

Update cron

This commit is contained in:
Limezy 2024-05-17 11:50:03 +07:00
parent 4af284d948
commit 279f836dad

View file

@ -51,6 +51,11 @@ ynh_add_nginx_config
ynh_add_systemd_config ynh_add_systemd_config
# Update cron in case of changes
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$app/$app.log" yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$app/$app.log"
#================================================= #=================================================