diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2007-07-29 08:26:44 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2007-07-29 08:26:44 +0000 |
commit | 9ca801456ea412d3eb27d059bfbb186e91d910c6 (patch) | |
tree | 3438b62b3d91cf77659677898f18d832d31fc614 /net-misc/ices/files | |
parent | Merge patches and changes by Pacho Ramos from bug 184869, thanks. (diff) | |
download | historical-9ca801456ea412d3eb27d059bfbb186e91d910c6.tar.gz historical-9ca801456ea412d3eb27d059bfbb186e91d910c6.tar.bz2 historical-9ca801456ea412d3eb27d059bfbb186e91d910c6.zip |
Merge ebuild changes from bug 115106, thanks to Chris Mayo.
Package-Manager: portage-2.1.3
Diffstat (limited to 'net-misc/ices/files')
-rw-r--r-- | net-misc/ices/files/digest-ices-2.0.1-r1 (renamed from net-misc/ices/files/digest-ices-2.0.1) | 0 | ||||
-rw-r--r-- | net-misc/ices/files/ices.initd | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/ices/files/digest-ices-2.0.1 b/net-misc/ices/files/digest-ices-2.0.1-r1 index 3ebcbcfca23d..3ebcbcfca23d 100644 --- a/net-misc/ices/files/digest-ices-2.0.1 +++ b/net-misc/ices/files/digest-ices-2.0.1-r1 diff --git a/net-misc/ices/files/ices.initd b/net-misc/ices/files/ices.initd new file mode 100644 index 000000000000..595bfb300019 --- /dev/null +++ b/net-misc/ices/files/ices.initd @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting IceS 2" + start-stop-daemon --background --start --pidfile /var/run/ices.pid --make-pidfile --exec /usr/bin/ices /etc/ices2/ices.xml + eend $? +} + +stop() { + ebegin "Stopping IceS 2" + start-stop-daemon --stop --pidfile /var/run/ices.pid --name ices + eend $? +} |