From 493741c7ce7da1cde1f852a805f8abcd42179ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Feb 2020 20:54:49 +0100 Subject: kodi-x11: fix name of service --- kodi-x11/APKBUILD | 9 +++++---- kodi-x11/kodi.init | 17 ----------------- kodi-x11/kodi_x11.init | 17 +++++++++++++++++ 3 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 kodi-x11/kodi.init create mode 100644 kodi-x11/kodi_x11.init diff --git a/kodi-x11/APKBUILD b/kodi-x11/APKBUILD index 494aca2..8561cc2 100644 --- a/kodi-x11/APKBUILD +++ b/kodi-x11/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Karel Kočí # Maintainer: Karel Kočí pkgname=kodi-x11 -pkgver=0.1 +pkgver=0.1.1 pkgrel=1 pkgdesc="Kodi with user kodi and init" url="https://git.cynerd.cz/alpine-personal-pkgs/" @@ -11,10 +11,11 @@ options="!check" makedepends="raspberrypi-dev" depends="kodi kodi-bin kodi-polkit" -source="kodi.init" +source="kodi_x11.init" install="$pkgname.pre-install" package() { - install -Dm755 "$srcdir"/kodi.init "$pkgdir"/etc/init.d/kodi + install -Dm755 "$srcdir"/kodi_x11.init "$pkgdir"/etc/init.d/kodi_x11 } -sha512sums="fcc157208017c782c57c78b069a0872a47c7d448b52825b4bdd32c51fc5b494fcc6386fe02619df8b1008c317726ddeb62f8189c2c4437065eb3369cfec3f1ce kodi.init" + +sha512sums="fcc157208017c782c57c78b069a0872a47c7d448b52825b4bdd32c51fc5b494fcc6386fe02619df8b1008c317726ddeb62f8189c2c4437065eb3369cfec3f1ce kodi_x11.init" diff --git a/kodi-x11/kodi.init b/kodi-x11/kodi.init deleted file mode 100644 index 89ae701..0000000 --- a/kodi-x11/kodi.init +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon - -name="Kodi" -description="A software media player and entertainment hub for digital media" - -command="/usr/bin/xinit" -command_args="/usr/bin/kodi-standalone -- :0" -command_user="kodi:kodi" -command_background="yes" -directory="/var/lib/kodi" -pidfile="/var/run/kodi.pid" - -depend() { - need net -} diff --git a/kodi-x11/kodi_x11.init b/kodi-x11/kodi_x11.init new file mode 100644 index 0000000..89ae701 --- /dev/null +++ b/kodi-x11/kodi_x11.init @@ -0,0 +1,17 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon + +name="Kodi" +description="A software media player and entertainment hub for digital media" + +command="/usr/bin/xinit" +command_args="/usr/bin/kodi-standalone -- :0" +command_user="kodi:kodi" +command_background="yes" +directory="/var/lib/kodi" +pidfile="/var/run/kodi.pid" + +depend() { + need net +} -- cgit v1.2.3