diff --git a/conf/django_example_ynh.service b/conf/systemd.service similarity index 100% rename from conf/django_example_ynh.service rename to conf/systemd.service diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index b7d5897..1ed9916 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -124,7 +124,7 @@ BASE_PATH:/opt/yunohost/django_example_ynh System check identified no issues (0 silenced). root@yunohost:~# tail -f /var/log/django_example_ynh/django_example_ynh.log -root@yunohost:~# cat /etc/systemd/system/django_example_ynh.service +root@yunohost:~# cat /etc/systemd/system/systemd.service root@yunohost:~# systemctl reload-or-restart django_example_ynh root@yunohost:~# journalctl --unit=django_example_ynh --follow diff --git a/scripts/install b/scripts/install index 7874367..a808194 100755 --- a/scripts/install +++ b/scripts/install @@ -199,7 +199,7 @@ chmod o-rwx "$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_example_ynh.service" +ynh_add_systemd_config --service="$app" --template="systemd.service" #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index 72a5720..de9ec43 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -92,7 +92,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_example_ynh.service" +ynh_add_systemd_config --service="$app" --template="systemd.service" #================================================= # UPGRADE VENV