mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
Bugfix systemd config
This commit is contained in:
parent
e1904475d4
commit
90cba0e7bb
4 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ BASE_PATH:/opt/yunohost/django-for-runners
|
||||||
System check identified no issues (0 silenced).
|
System check identified no issues (0 silenced).
|
||||||
|
|
||||||
root@yunohost:~# tail -f /var/log/django-for-runners/django-for-runners.log
|
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:~# systemctl reload-or-restart django-for-runners
|
||||||
root@yunohost:~# journalctl --unit=django-for-runners --follow
|
root@yunohost:~# journalctl --unit=django-for-runners --follow
|
||||||
|
|
|
@ -215,7 +215,7 @@ chown -R "$app" "$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-for-runners.service"
|
ynh_add_systemd_config --service="$app" --template="for_runners.service"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -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_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
|
# UPGRADE PYINVENTORY
|
||||||
|
|
Loading…
Reference in a new issue