Commit 164b8c26 authored by Jakub Jirutka's avatar Jakub Jirutka 🇺🇦
Browse files

community/seatd: don't force supervise-daemon and use absolute path

See e.g. 49943448 for explanation.
parent 494e813f
......@@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=seatd
pkgver=0.6.2
pkgrel=0
pkgrel=1
pkgdesc="Minimal seat management daemon"
url="https://sr.ht/~kennylevinsen/seatd/"
license="MIT"
......@@ -13,7 +13,8 @@ install="$pkgname.pre-install"
makedepends="meson scdoc elogind-dev linux-headers"
subpackages="libseat:libs libseat-dev $pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz
seatd.initd
$pkgname.initd
$pkgname.confd
"
# secfixes:
......@@ -38,6 +39,7 @@ package() {
chmod u+s "$pkgdir"/usr/bin/seatd-launch
install -Dm755 "$srcdir"/seatd.initd "$pkgdir"/etc/init.d/seatd
install -Dm644 "$srcdir"/seatd.confd "$pkgdir"/etc/conf.d/seatd
}
libs() {
......@@ -52,5 +54,6 @@ dev() {
sha512sums="
47e3aec819f43e72913be1cac2c0db26287f1ef8ecc738845d3591b3e2b4fee3441ac50ea45ac75a5da774e5305a18a02b8375f76f71644c8c07e95bcad52762 seatd-0.6.2.tar.gz
e37a46121d1edbe76be3eeff25651ac84a55c2dc6b2211005fe39bf4051df0fc427315b0b4a660b66193fb16b641a7203fc5e201c391f9bb3b4f02c26a5d39cc seatd.initd
b9f986024e00a828a2164d5f68c9d1c9d639e6bfbf0fdf59dd6f470fb8fa2a35089160f80d4ab9f8a84b2628fbcc82bfe6f67ea2f9fbe40ee8a256bf04c778e6 seatd.initd
1e00d22ce431c334117dfd1ad322333b8d2faf5c15929503add91950fa973b79bda593f01fb06f05e1f0dc9c665948ebcbd2238b9d45dfafdef04ae8504ab350 seatd.confd
"
# Configuration for /etc/init.d/seatd
# Uncomment to run with process supervisor.
#supervisor="supervise-daemon"
#!/sbin/openrc-run
supervisor=supervise-daemon
name=$RC_SVCNAME
name="seatd"
description="Seat management daemon"
command="seatd"
command_args="-g seat"
command="/usr/bin/seatd"
command_args="-g seat ${command_args:-}"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
error_log="/var/log/seatd.log"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment