mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
conf/{django_example_ynh.service => systemd.service}
This commit is contained in:
parent
6b9f6cd019
commit
7a10831b8e
4 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue