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

Remove Advertise in Admin panel

Duplicate from SystemD
This commit is contained in:
Yalh 2019-01-19 10:42:29 +01:00
parent 6c3744ce56
commit 95333cdf2a
3 changed files with 7 additions and 7 deletions

View file

@ -327,7 +327,7 @@ chown -R $app: /var/log/$app/
### - Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script
### - As well as the section ADVERTISE SERVICE IN ADMIN PANEL" in the restore script
yunohost service add $app --log "/var/log/$app/APP.log"
#yunohost service add $app --log "/var/log/$app/APP.log"
# if using yunohost version 3.2 or more in the 'manifest.json', a description can be added
#yunohost service add $app --description "$app daemon for XXX" --log "/var/log/$app/APP.log"

View file

@ -35,11 +35,11 @@ ynh_remove_systemd_config
#=================================================
# Remove a service from the admin panel, added by `yunohost service add`
if yunohost service status | grep -q $app
then
echo "Remove $app service"
yunohost service remove $app
fi
#if yunohost service status | grep -q $app
#then
# echo "Remove $app service"
# yunohost service remove $app
#fi
#=================================================
# REMOVE DEPENDENCIES

View file

@ -110,7 +110,7 @@ chown -R root: $final_path
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app --log "/var/log/$app/APP.log"
#yunohost service add $app --log "/var/log/$app/APP.log"
#=================================================
# RESTORE SYSTEMD