mirror of
https://github.com/YunoHost-Apps/shellinabox_ynh.git
synced 2024-09-03 20:26:12 +02:00
Allow the service to log in syslog also in upgrade
This commit is contained in:
parent
49dd8bd677
commit
46052860d7
1 changed files with 9 additions and 0 deletions
|
@ -59,3 +59,12 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
|
||||
systemctl reload nginx
|
||||
|
||||
#=================================================
|
||||
# ALLOW THE SERVICE TO LOG IN SYSLOG
|
||||
#=================================================
|
||||
|
||||
ynh_replace_string " -- -q --background" " -- --background" "/etc/init.d/shellinabox"
|
||||
systemctl daemon-reload
|
||||
|
||||
systemctl restart shellinabox
|
||||
|
|
Loading…
Reference in a new issue