1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00
This commit is contained in:
Éric Gaspar 2023-10-17 13:58:46 +02:00
parent 6210130bef
commit 783745f42a
4 changed files with 8 additions and 1 deletions

View file

@ -7,6 +7,7 @@ After=network.target
Type=simple
User=__APP__
Group=__APP__
Environment="PATH=__ENV_PATH__"
WorkingDirectory=__INSTALL_DIR__/app
Environment=PORT=__PORT__
ExecStart=__YNH_NPM__ run start

View file

@ -44,6 +44,7 @@ ynh_script_progression --message="Adding system configurations related to $app..
ynh_add_nginx_config
env_path="$PATH"
ynh_add_systemd_config
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"

View file

@ -41,6 +41,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap
ynh_add_nginx_config
env_path="$PATH"
ynh_add_systemd_config
yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$app/$app.log"

View file

@ -4,4 +4,8 @@ test_format = 1.0
[default]
# ------------
# Tests to run
# ------------
exclude = ["install.subdir"]