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:
parent
ff9fc6cadb
commit
b3e1365b57
2 changed files with 12 additions and 0 deletions
|
@ -142,6 +142,12 @@ sudo -u $app php ${final_path}/update.php --update-schema
|
|||
|
||||
sudo systemctl start $app
|
||||
|
||||
#=================================================
|
||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
#=================================================
|
||||
|
||||
yunohost service add $app
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
|
@ -131,6 +131,12 @@ chown -R $app $final_path/{cache,feed-icons,lock}
|
|||
ynh_add_systemd_config
|
||||
systemctl restart $app
|
||||
|
||||
#=================================================
|
||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
#=================================================
|
||||
|
||||
yunohost service add $app
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue