aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-06 12:58:51 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-19 09:17:32 +0000
commite6519fad77b26c09d644336c54be1818776c3226 (patch)
treef7880287749cdbbeed1f843f18df70841802d99a
parent0c0c7603ffd95d02452a529e9920a6a54303a776 (diff)
downloadaports-e6519fad77b26c09d644336c54be1818776c3226.tar.gz
aports-e6519fad77b26c09d644336c54be1818776c3226.tar.bz2
aports-e6519fad77b26c09d644336c54be1818776c3226.tar.xz
main/xdm: use supervise-daemon for running xdm
-rw-r--r--main/xdm/APKBUILD4
-rw-r--r--[-rwxr-xr-x]main/xdm/xdm.initd14
2 files changed, 11 insertions, 7 deletions
diff --git a/main/xdm/APKBUILD b/main/xdm/APKBUILD
index 68fb2ef192..9006957916 100644
--- a/main/xdm/APKBUILD
+++ b/main/xdm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=xdm
pkgver=1.1.12
-pkgrel=0
+pkgrel=1
pkgdesc="X Display Manager"
options="!check" # No testsuite
url="http://xorg.freedesktop.org/"
@@ -55,7 +55,7 @@ package() {
}
sha512sums="1a4be0a070ced5db8fda6fc74794c9f9ed0cb37fa440fda6a3a7652aff62dfc3d7ba68b9facf054671ebf0f4db2a0eec29d0aa3716e3407ccd5529bac3553bdb xdm-1.1.12.tar.bz2
-20c1ada62d139fe8c8f8f7d6479ff45f6c009dbf5af454939bd11433700d8c5ef56a2068645ee0ab31e16cea29e708836f80a598ae708179844d56e31b90cfaa xdm.initd
+1ca66b029d3f104735c633267d3d24564d9c22f878312ec8cc1f0bd1d51380501607ec88c5965ebef84fe968c77e587d541e1555038a9aca8e07888eab5a7dce xdm.initd
9d08ee82afeb85e7d9e0a1013226a44bdbef8d6da227f5fef7734524861c41f0cdc9ba4616b2faaf3a8d4b16134115ed004bf0a5fcf71be7c6e13506fbcda95b xdm.confd
2a9db579323d680b6b3d7a0377ea1140c8570870c4f06f2ecc5e0ec73233b3621e46823ff3f694d8fa296a4de83b4fd62c2635c3c6b413b613ebe83cba4cf033 Xresources.alpinelinux
5d667541fdb39bdbd637da45e05a243736af32b7aa75ce27f2bbf097bce2fad87932619b372ab03add29b0bef7dd8816eb89875fbf2426eba83978d720687d90 Xresources.alpinelinux_old
diff --git a/main/xdm/xdm.initd b/main/xdm/xdm.initd
index e3fc614416..7e13d5a085 100755..100644
--- a/main/xdm/xdm.initd
+++ b/main/xdm/xdm.initd
@@ -1,13 +1,17 @@
#!/sbin/openrc-run
-depends() {
- needs localmount
-}
+supervisor=supervise-daemon
+name="Display Manager"
description="X Display Manager"
-command="/usr/bin/xdm"
+
+command=/usr/bin/xdm
command_args="${xdm_opts}"
-pidfile="/var/run/xdm.pid"
+command_args_foreground="-nodaemon"
+
+depends() {
+ needs localmount
+}
# uses the openrc templates for start()/stop()