1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00

fix systemd service

This commit is contained in:
Clément 2020-06-09 21:53:56 +02:00
parent 1681ee4692
commit b5b8a60ce4
5 changed files with 4 additions and 8 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.16/gotify-linux-arm-7.zip
SOURCE_SUM=c0919fa83fadf6ffee12b14dd94c0662bff69e83c11f51f9f1228ac374f91bf0
SOURCE_SUM=62cd54303a79af678a77b8591836851c31cebf83c48392fd149007ba39926691
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -1,6 +0,0 @@
SOURCE_URL=https://github.com/gotify/server/releases/download/v2.0.16/gotify-linux-arm-7.zip
SOURCE_SUM=62cd54303a79af678a77b8591836851c31cebf83c48392fd149007ba39926691
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=gotify-linux-arm-7

View file

@ -8,7 +8,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/gotify-linux-amd64
ExecStart=__FINALPATH__/gotify-linux-__ARCHITECTURE__
[Install]
WantedBy=multi-user.target

View file

@ -107,6 +107,7 @@ ynh_system_user_create $app
#=================================================
# Create a dedicated systemd config
ynh_replace_string "__ARCHITECTURE__" $architecture "../conf/systemd.service"
ynh_add_systemd_config
#=================================================

View file

@ -129,6 +129,7 @@ ynh_store_file_checksum "$final_path/config.yml"
#=================================================
# Create a dedicated systemd config
ynh_replace_string "__ARCHITECTURE__" $architecture "../conf/systemd.service"
ynh_add_systemd_config
#=================================================