From 619e85078d364c5839a0aeb29671cb13fabf3a48 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 11 Apr 2023 22:39:34 +0200 Subject: [PATCH] fix: create config directory --- PKGBUILD | 5 +++-- gitea-runner.service | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 9655145..164cdfd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=gitea-runner _pkgname=act_runner pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Gitea Runner' arch=('arm7h' 'arm64' 'x86_64') url=https://gitea.com/gitea/act_runner @@ -21,7 +21,7 @@ sha512sums=('a874f55b784859295d6f3829855fb684ed2744b164c1bff239100ea788e1505a271 '83f6b5e7882198f11b635cc8aaa6ad053693c015bce85ae2285c8757d7439e66805a08cf4eb76233b8106e7867ea7459136671306007be9bb48ca9dcfec20b30' '32dc348af8fe6b2c5d86eaa4226c127751a705c810853b9ad3a074c86473d0f2867523428997320bffea2f3202bc6364db8fd7aec45348cd20e447069f2cae21' 'bbd5cd3f8aa033d4b0bd1ad7e7e9f0b144130d2ef60eddc408cdbdefe09a51e3e62e3724390ab2c9a0401cace258c362775706954e3e0f30992ff92680e81993' - '264b456df0e77e248bf72cd22fa56ef135e38fdc09bdfa1adba27b356ea0183d34d6520411ebe8a88b082116bc2be6769f1a3077798a6ce1a10b9eca0bdcc35f') + '93b57c75c2fb8ee89c11ec27c4c79b69083e6d8f1144e9d19c0d1478f8291d6a0a563ab29c63a076281d4aa9403abcf4d44bd0110062d5e995dd16ff98b24a89') package() { case "$(uname -m)" in @@ -39,6 +39,7 @@ package() { ;; esac + install --directory --mode=0755 ${pkgdir}/etc/${_pkgname} install -D --mode=0644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" install -D --mode=0644 gitea-runner.service "${pkgdir}/usr/lib/systemd/system/gitea-runner.service" } diff --git a/gitea-runner.service b/gitea-runner.service index da05bdd..284d403 100644 --- a/gitea-runner.service +++ b/gitea-runner.service @@ -3,7 +3,7 @@ Description=Gitea Runner [Service] Type=simple -ExecStart=/usr/bin/act_runner daemon +ExecStart=/usr/bin/act_runner daemon --config /etc/act_runner/config [Install] WantedBy=multi-user.target \ No newline at end of file