Skip to content

Commit

Permalink
fix log path
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgaspar committed Jun 5, 2021
1 parent 451e9c2 commit 59df9bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59df9bd

Please sign in to comment.