diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-04 19:02:24 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-04 19:02:24 +0000 |
commit | b57f5ffaab1471ec2fbd2c495682630c80456645 (patch) | |
tree | c352da974eef188465c7edc8a00b0a21ccc69653 /app-misc/g15composer/files | |
parent | Masking app-misc/g15composer for testing (diff) | |
download | gentoo-2-b57f5ffaab1471ec2fbd2c495682630c80456645.tar.gz gentoo-2-b57f5ffaab1471ec2fbd2c495682630c80456645.tar.bz2 gentoo-2-b57f5ffaab1471ec2fbd2c495682630c80456645.zip |
Initial import, thanks to Alessio Cassibba and guitoo
(Portage version: 2.1.2_pre1-r3)
Diffstat (limited to 'app-misc/g15composer/files')
-rw-r--r-- | app-misc/g15composer/files/digest-g15composer-1.0 | 3 | ||||
-rw-r--r-- | app-misc/g15composer/files/g15composer-1.0.rc | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/app-misc/g15composer/files/digest-g15composer-1.0 b/app-misc/g15composer/files/digest-g15composer-1.0 new file mode 100644 index 000000000000..9986413b9742 --- /dev/null +++ b/app-misc/g15composer/files/digest-g15composer-1.0 @@ -0,0 +1,3 @@ +MD5 38eb5213088f637d06273ee3fe5dd22f g15composer-1.0.tar.bz2 68465 +RMD160 0a7f16ff1f2609096728f08e7dfb774a55018f2b g15composer-1.0.tar.bz2 68465 +SHA256 13fada88ccfac737d6429a55816543531e22835e0481ecbe8cc8db9212872150 g15composer-1.0.tar.bz2 68465 diff --git a/app-misc/g15composer/files/g15composer-1.0.rc b/app-misc/g15composer/files/g15composer-1.0.rc new file mode 100644 index 000000000000..2d6f391b29af --- /dev/null +++ b/app-misc/g15composer/files/g15composer-1.0.rc @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/g15composer/files/g15composer-1.0.rc,v 1.1 2006/10/04 19:02:24 jokey Exp $ + +depend() { + need g15daemon +} + +start() { + NODE="/dev/${SVCNAME}" + ebegin "Starting ${SVCNAME}" + mknod -m720 "${NODE}" p + chgrp users "${NODE}" + PIDFILE=/var/run/${SVCNAME}.pid + start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec /usr/bin/g15composer -- "${NODE}" + eend $? +} + +stop() { + ebegin "Stoping ${SVCNAME}" + PIDFILE=/var/run/${SVCNAME}.pid + start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer + NODE="/dev/${SVCNAME}" + rm "${NODE}" + eend $? +}
\ No newline at end of file |