aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxdm/lxdm.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-28 10:09:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-28 10:09:36 +0000
commit165f16e48c93875e1141c734ffde07c9e39c01db (patch)
tree66d00fab8efc0db1efb08821d0e692c2f8e819cd /testing/lxdm/lxdm.initd
parent773995e7bf608cd00301ad488ce0af499ad5ce0a (diff)
downloadaports-165f16e48c93875e1141c734ffde07c9e39c01db.tar.gz
aports-165f16e48c93875e1141c734ffde07c9e39c01db.tar.bz2
aports-165f16e48c93875e1141c734ffde07c9e39c01db.tar.xz
testing/lxdm: fix bash dependency and use start/stop template
Diffstat (limited to 'testing/lxdm/lxdm.initd')
-rwxr-xr-xtesting/lxdm/lxdm.initd16
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/lxdm/lxdm.initd b/testing/lxdm/lxdm.initd
index 19aea3a03a..d0f17a24f8 100755
--- a/testing/lxdm/lxdm.initd
+++ b/testing/lxdm/lxdm.initd
@@ -4,15 +4,9 @@ depends() {
needs localmount
}
-start() {
- ebegin "Starting lxdm"
- start-stop-daemon --start --quiet --exec /usr/sbin/lxdm -- -d
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxdm"
- start-stop-daemon --stop --quiet --exec /usr/sbin/lxdm
- eend $?
-}
+description="Lightweight Login Manager"
+command="/usr/sbin/lxdm"
+command_args="-d"
+pidfile="/var/run/lxdm.pid"
+# uses the openrc templates for start()/stop()