From 90cba0e7bb99fbf7bc53c45a33697dbddbbbd27e Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 12 Dec 2020 20:22:37 +0100 Subject: [PATCH] Bugfix systemd config --- README.md | 2 +- conf/{pyinventory.service => for_runners.service} | 0 scripts/install | 2 +- scripts/upgrade | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename conf/{pyinventory.service => for_runners.service} (100%) diff --git a/README.md b/README.md index b07ac9b..2d0b2d4 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ BASE_PATH:/opt/yunohost/django-for-runners System check identified no issues (0 silenced). root@yunohost:~# tail -f /var/log/django-for-runners/django-for-runners.log -root@yunohost:~# cat /etc/systemd/system/django-for-runners.service +root@yunohost:~# cat /etc/systemd/system/for_runners.service root@yunohost:~# systemctl reload-or-restart django-for-runners root@yunohost:~# journalctl --unit=django-for-runners --follow diff --git a/conf/pyinventory.service b/conf/for_runners.service similarity index 100% rename from conf/pyinventory.service rename to conf/for_runners.service diff --git a/scripts/install b/scripts/install index b84a70f..233c626 100755 --- a/scripts/install +++ b/scripts/install @@ -215,7 +215,7 @@ chown -R "$app" "$final_path" ynh_script_progression --message="Configuring a systemd service..." # https://github.com/YunoHost/yunohost/blob/dev/data/helpers.d/systemd -ynh_add_systemd_config --service="$app" --template="django-for-runners.service" +ynh_add_systemd_config --service="$app" --template="for_runners.service" #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index 3c92501..7f9ab31 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -79,7 +79,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell #================================================= ynh_script_progression --message="Configuring a systemd service..." -ynh_add_systemd_config --service="$app" --template="django-for-runners.service" +ynh_add_systemd_config --service="$app" --template="for_runners.service" #================================================= # UPGRADE PYINVENTORY