fix service name

This commit is contained in:
Thomas 2023-11-10 21:04:57 +01:00 committed by GitHub
parent 9783fd305b
commit 7ab6eb3006
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -75,12 +75,12 @@ chown -R $app:www-data /var/log/$app/
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_add_config --template="../conf/$app.target" --destination="/etc/systemd/system/$app.target"
ynh_add_config --template="../conf/bookwyrm.target" --destination="/etc/systemd/system/$app.target"
# Create a dedicated systemd config
ynh_add_systemd_config --service="$app-server" --template="$app-server.service"
ynh_add_systemd_config --service="$app-worker" --template="$app-worker.service"
ynh_add_systemd_config --service="$app-beat" --template="$app-beat.service"
ynh_add_systemd_config --service="$app-server" --template="bookwyrm-server.service"
ynh_add_systemd_config --service="$app-worker" --template="bookwyrm-worker.service"
ynh_add_systemd_config --service="$app-beat" --template="bookwyrm-beat.service"
#=================================================
# GENERIC FINALIZATION

View file

@ -92,9 +92,9 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
ynh_add_config --template="../conf/bookwyrm.target" --destination="/etc/systemd/system/$app.target"
# Create a dedicated systemd config
ynh_add_systemd_config --service="$app-server" --template="$app-server.service"
ynh_add_systemd_config --service="$app-worker" --template="$app-worker.service"
ynh_add_systemd_config --service="$app-beat" --template="$app-beat.service"
ynh_add_systemd_config --service="$app-server" --template="bookwyrm-server.service"
ynh_add_systemd_config --service="$app-worker" --template="bookwyrm-worker.service"
ynh_add_systemd_config --service="$app-beat" --template="bookwyrm-beat.service"
#=================================================
# GENERIC FINALIZATION