From 24b78505c67b2a06a238c8f5cdba7d9fcaa341c9 Mon Sep 17 00:00:00 2001 From: morph027 Date: Sat, 20 Jun 2020 09:49:09 +0200 Subject: [PATCH] fix systemd unit --- .gitlab-ci.yml | 2 +- .../usr/lib/systemd/system => package_scripts}/gitea.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {package_root/usr/lib/systemd/system => package_scripts}/gitea.service (91%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 349155b..25af76f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ package: --maintainer "Stefan Heitmüller " --url "${URL}" --depends git - --deb-systemd "${CI_PROJECT_DIR}/package_root/usr/lib/systemd/system/${NAME}.service" + --deb-systemd "${CI_PROJECT_DIR}/package_scripts/${NAME}.service" --deb-systemd-enable --deb-systemd-auto-start --deb-activate-noawait /etc/init.d diff --git a/package_root/usr/lib/systemd/system/gitea.service b/package_scripts/gitea.service similarity index 91% rename from package_root/usr/lib/systemd/system/gitea.service rename to package_scripts/gitea.service index 9115533..f769bb2 100644 --- a/package_root/usr/lib/systemd/system/gitea.service +++ b/package_scripts/gitea.service @@ -13,4 +13,4 @@ Restart=always EnvironmentFile=/etc/default/gitea [Install] -WantedBy=multi-user.targe +WantedBy=multi-user.target