mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
fix log path
This commit is contained in:
parent
451e9c2264
commit
59df9bd44c
3 changed files with 6 additions and 6 deletions
|
@ -134,14 +134,14 @@ systemctl disable mumble-server --quiet
|
|||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
# Add Mumble as a YunoHost service
|
||||
yunohost service add $app --description="Mumble server" --log="/var/log/$app/$app.log" --needs_exposed_ports $port
|
||||
yunohost service add $app --description="Mumble server" --log="/var/log/mumble-server/$app.log" --needs_exposed_ports="$port"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=3
|
||||
|
||||
ynh_systemd_action --service_name=$app --action=restart #--log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/mumble-server/$app.log"
|
||||
|
||||
#=================================================
|
||||
# SEND README TO ADMIN
|
||||
|
|
|
@ -79,7 +79,7 @@ systemctl disable mumble-server --quiet
|
|||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||
|
||||
# Add Mumble as a YunoHost service
|
||||
yunohost service add $app --description="Mumble server" --log="/var/log/$app/$app.log" --needs_exposed_ports $port
|
||||
yunohost service add $app --description="Mumble server" --log="/var/log/mumble-server/$app.log" --needs_exposed_ports="$port"
|
||||
|
||||
#=================================================
|
||||
# RESTORE SYSTEMD
|
||||
|
@ -94,7 +94,7 @@ systemctl enable $app.service --quiet
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=3
|
||||
|
||||
ynh_systemd_action --service_name=$app --action=restart #--log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/mumble-server/$app.log"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -178,14 +178,14 @@ systemctl disable mumble-server --quiet
|
|||
#=================================================
|
||||
|
||||
# Add Mumble as a YunoHost service
|
||||
yunohost service add $app --description="Mumble server" --log="/var/log/$app/$app.log" --needs_exposed_ports $port
|
||||
yunohost service add $app --description="Mumble server" --log="/var/log/mumble-server/$app.log" --needs_exposed_ports="$port"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=3
|
||||
|
||||
ynh_systemd_action --service_name=$app --action=restart #--log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/mumble-server/$app.log"
|
||||
|
||||
#=================================================
|
||||
# SEND README TO ADMIN
|
||||
|
|
Loading…
Add table
Reference in a new issue