conf/{django_example_ynh.service => systemd.service}

This commit is contained in:
JensDiemer 2022-08-14 14:26:16 +02:00
parent 6b9f6cd019
commit 7a10831b8e
4 changed files with 3 additions and 3 deletions

View file

@ -124,7 +124,7 @@ BASE_PATH:/opt/yunohost/django_example_ynh
System check identified no issues (0 silenced). System check identified no issues (0 silenced).
root@yunohost:~# tail -f /var/log/django_example_ynh/django_example_ynh.log 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:~# systemctl reload-or-restart django_example_ynh
root@yunohost:~# journalctl --unit=django_example_ynh --follow root@yunohost:~# journalctl --unit=django_example_ynh --follow

View file

@ -199,7 +199,7 @@ chmod o-rwx "$final_path"
ynh_script_progression --message="Configuring a systemd service..." ynh_script_progression --message="Configuring a systemd service..."
# https://github.com/YunoHost/yunohost/blob/dev/data/helpers.d/systemd # 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 # SETUP SSOWAT

View file

@ -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_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 # UPGRADE VENV