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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-12-27 12:25:19 +01:00
parent 303e4316be
commit 13aa0f876c

View file

@ -38,6 +38,12 @@ chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/cjdroute"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating cjdns service in YunoHost..."
yunohost service add $app --description="$app service" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE
@ -45,6 +51,7 @@ chmod +x "$install_dir/cjdroute"
ynh_script_progression --message="Restarting cjdns service..." --weight=1
ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd"
#=================================================
# END OF SCRIPT
#=================================================