fix PKGBUILD and systemd unit
This commit is contained in:
parent
bc0b1ae13c
commit
4ba3a4440c
2 changed files with 4 additions and 7 deletions
8
PKGBUILD
8
PKGBUILD
|
@ -22,9 +22,9 @@ package() {
|
||||||
# prepare dirs
|
# prepare dirs
|
||||||
install -dm755 "$pkgdir/usr/bin"
|
install -dm755 "$pkgdir/usr/bin"
|
||||||
install -dm755 "$pkgdir/usr/lib/systemd/system"
|
install -dm755 "$pkgdir/usr/lib/systemd/system"
|
||||||
install -dm755 "$pkgdir/etc/$pkgname"
|
install -dm755 "$pkgdir/etc/safe-harbor"
|
||||||
|
|
||||||
cp bin/$pkgname.py "$pkgdir/usr/bin"
|
cp bin/safe-harbor.py "$pkgdir/usr/bin"
|
||||||
cp systemd/$pkgname@.service "$pkgdir/usr/lib/systemd/system"
|
cp systemd/safe-harbor@.service "$pkgdir/usr/lib/systemd/system"
|
||||||
cp config.json.example "$pkgdir/etc/$pkgname"
|
cp config.json.example "$pkgdir/etc/safe-harbor"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,3 @@ User=$i
|
||||||
ExecStart=/usr/bin/python3 /usr/lib/safe-harbor/safe-harbor.py
|
ExecStart=/usr/bin/python3 /usr/lib/safe-harbor/safe-harbor.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=90
|
RestartSec=90
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue