mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
fix service name
This commit is contained in:
parent
9783fd305b
commit
7ab6eb3006
6 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue