fix: create config directory
This commit is contained in:
parent
3a6900eab6
commit
619e85078d
5
PKGBUILD
5
PKGBUILD
@ -3,7 +3,7 @@
|
|||||||
pkgname=gitea-runner
|
pkgname=gitea-runner
|
||||||
_pkgname=act_runner
|
_pkgname=act_runner
|
||||||
pkgver=0.1.0
|
pkgver=0.1.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Gitea Runner'
|
pkgdesc='Gitea Runner'
|
||||||
arch=('arm7h' 'arm64' 'x86_64')
|
arch=('arm7h' 'arm64' 'x86_64')
|
||||||
url=https://gitea.com/gitea/act_runner
|
url=https://gitea.com/gitea/act_runner
|
||||||
@ -21,7 +21,7 @@ sha512sums=('a874f55b784859295d6f3829855fb684ed2744b164c1bff239100ea788e1505a271
|
|||||||
'83f6b5e7882198f11b635cc8aaa6ad053693c015bce85ae2285c8757d7439e66805a08cf4eb76233b8106e7867ea7459136671306007be9bb48ca9dcfec20b30'
|
'83f6b5e7882198f11b635cc8aaa6ad053693c015bce85ae2285c8757d7439e66805a08cf4eb76233b8106e7867ea7459136671306007be9bb48ca9dcfec20b30'
|
||||||
'32dc348af8fe6b2c5d86eaa4226c127751a705c810853b9ad3a074c86473d0f2867523428997320bffea2f3202bc6364db8fd7aec45348cd20e447069f2cae21'
|
'32dc348af8fe6b2c5d86eaa4226c127751a705c810853b9ad3a074c86473d0f2867523428997320bffea2f3202bc6364db8fd7aec45348cd20e447069f2cae21'
|
||||||
'bbd5cd3f8aa033d4b0bd1ad7e7e9f0b144130d2ef60eddc408cdbdefe09a51e3e62e3724390ab2c9a0401cace258c362775706954e3e0f30992ff92680e81993'
|
'bbd5cd3f8aa033d4b0bd1ad7e7e9f0b144130d2ef60eddc408cdbdefe09a51e3e62e3724390ab2c9a0401cace258c362775706954e3e0f30992ff92680e81993'
|
||||||
'264b456df0e77e248bf72cd22fa56ef135e38fdc09bdfa1adba27b356ea0183d34d6520411ebe8a88b082116bc2be6769f1a3077798a6ce1a10b9eca0bdcc35f')
|
'93b57c75c2fb8ee89c11ec27c4c79b69083e6d8f1144e9d19c0d1478f8291d6a0a563ab29c63a076281d4aa9403abcf4d44bd0110062d5e995dd16ff98b24a89')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
case "$(uname -m)" in
|
case "$(uname -m)" in
|
||||||
@ -39,6 +39,7 @@ package() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
install --directory --mode=0755 ${pkgdir}/etc/${_pkgname}
|
||||||
install -D --mode=0644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
|
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"
|
install -D --mode=0644 gitea-runner.service "${pkgdir}/usr/lib/systemd/system/gitea-runner.service"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ Description=Gitea Runner
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/act_runner daemon
|
ExecStart=/usr/bin/act_runner daemon --config /etc/act_runner/config
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user