1
0
Fork 0
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:
Maniack Crudelis 2018-04-17 17:30:44 +02:00 committed by GitHub
parent 49dd8bd677
commit 46052860d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,3 +59,12 @@ ynh_add_nginx_config
#================================================= #=================================================
systemctl reload nginx 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