ConsoleKit2: make cgmanager optional in the runit service.

If it's enabled check for it, otherwise run without it.
This commit is contained in:
Juan RP 2016-04-20 12:30:35 +02:00
parent 31f5f802d8
commit d7e4941159
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh #!/bin/sh
sv check cgmanager >/dev/null || exit 1 if [ -L /var/service/cgmanager ]; then
sv check cgmanager >/dev/null || exit 1
fi
exec console-kit-daemon --no-daemon exec console-kit-daemon --no-daemon

View file

@ -1,7 +1,7 @@
# Template file for 'ConsoleKit2' # Template file for 'ConsoleKit2'
pkgname=ConsoleKit2 pkgname=ConsoleKit2
version=1.1.0 version=1.1.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
--with-rundir=/run --enable-udev-acl --enable-pam-module --with-rundir=/run --enable-udev-acl --enable-pam-module