1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/beehive_ynh.git synced 2024-09-03 18:06:24 +02:00
This commit is contained in:
ericgaspar 2021-08-29 23:21:40 +02:00
parent 1000121bbf
commit 1755b0e035
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 4 deletions

View file

@ -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]

View file

@ -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