1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

Add systemd service in YunoHost panel

No log file to provide as everything is written in systemd journal
This commit is contained in:
Jimmy Monin 2018-05-31 07:32:18 +02:00
parent ff9fc6cadb
commit b3e1365b57
2 changed files with 12 additions and 0 deletions

View file

@ -142,6 +142,12 @@ sudo -u $app php ${final_path}/update.php --update-schema
sudo systemctl start $app sudo systemctl start $app
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================

View file

@ -131,6 +131,12 @@ chown -R $app $final_path/{cache,feed-icons,lock}
ynh_add_systemd_config ynh_add_systemd_config
systemctl restart $app systemctl restart $app
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
yunohost service add $app
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================