mirror of
https://github.com/YunoHost-Apps/borgwarehouse_ynh.git
synced 2024-09-03 18:16:17 +02:00
fix
This commit is contained in:
parent
6210130bef
commit
783745f42a
4 changed files with 8 additions and 1 deletions
|
@ -7,6 +7,7 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
|
Environment="PATH=__ENV_PATH__"
|
||||||
WorkingDirectory=__INSTALL_DIR__/app
|
WorkingDirectory=__INSTALL_DIR__/app
|
||||||
Environment=PORT=__PORT__
|
Environment=PORT=__PORT__
|
||||||
ExecStart=__YNH_NPM__ run start
|
ExecStart=__YNH_NPM__ run start
|
||||||
|
|
|
@ -44,6 +44,7 @@ ynh_script_progression --message="Adding system configurations related to $app..
|
||||||
|
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
env_path="$PATH"
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
||||||
|
|
|
@ -41,6 +41,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap
|
||||||
|
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
env_path="$PATH"
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$app/$app.log"
|
||||||
|
|
|
@ -4,4 +4,8 @@ test_format = 1.0
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
|
|
||||||
|
# ------------
|
||||||
|
# Tests to run
|
||||||
|
# ------------
|
||||||
|
|
||||||
|
exclude = ["install.subdir"]
|
Loading…
Reference in a new issue