mirror of
https://github.com/YunoHost-Apps/beehive_ynh.git
synced 2024-09-03 18:06:24 +02:00
Fix
This commit is contained in:
parent
1000121bbf
commit
1755b0e035
2 changed files with 4 additions and 4 deletions
|
@ -10,9 +10,9 @@ WorkingDirectory=__FINALPATH__/
|
||||||
ExecStart=__FINALPATH__/beehive --config __FINALPATH__/beehive.conf
|
ExecStart=__FINALPATH__/beehive --config __FINALPATH__/beehive.conf
|
||||||
#-bind "127.0.0.1:__PORT__" -canonicalurl "https://__DOMAIN__"
|
#-bind "127.0.0.1:__PORT__" -canonicalurl "https://__DOMAIN__"
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=/var/log/__APP__/__APP__.log
|
#StandardOutput=/var/log/__APP__/__APP__.log
|
||||||
StandardError=/var/log/__APP__/__APP__.log
|
#StandardError=/var/log/__APP__/__APP__.log
|
||||||
SyslogIdentifier=__APP__
|
#SyslogIdentifier=__APP__
|
||||||
WatchdogSec=30s
|
WatchdogSec=30s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -117,7 +117,7 @@ yunohost service add $app --description="$app service" --log="/var/log/$app/$app
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="HTTP Server listening"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
Loading…
Reference in a new issue