ConsoleKit2: make cgmanager optional in the runit service.
If it's enabled check for it, otherwise run without it.
This commit is contained in:
parent
31f5f802d8
commit
d7e4941159
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
if [ -L /var/service/cgmanager ]; then
|
||||
sv check cgmanager >/dev/null || exit 1
|
||||
fi
|
||||
exec console-kit-daemon --no-daemon
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ConsoleKit2'
|
||||
pkgname=ConsoleKit2
|
||||
version=1.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
|
||||
--with-rundir=/run --enable-udev-acl --enable-pam-module
|
||||
|
|
Loading…
Reference in a new issue