summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-07-15 21:36:02 +0000
committerSven Wegener <swegener@gentoo.org>2004-07-15 21:36:02 +0000
commit78563760e753d38c2c8b0c8126e68661c5e5ca47 (patch)
treee04f156e81b1449c5ff0f07bcf1b53073c4feefb /net-im/silc-server/files
parentBad patch -> fixed. (diff)
downloadhistorical-78563760e753d38c2c8b0c8126e68661c5e5ca47.tar.gz
historical-78563760e753d38c2c8b0c8126e68661c5e5ca47.tar.bz2
historical-78563760e753d38c2c8b0c8126e68661c5e5ca47.zip
Initial import, ebuild written by me.
Diffstat (limited to 'net-im/silc-server/files')
-rw-r--r--net-im/silc-server/files/digest-silc-server-0.9.181
-rw-r--r--net-im/silc-server/files/silc-server.init.d21
2 files changed, 22 insertions, 0 deletions
diff --git a/net-im/silc-server/files/digest-silc-server-0.9.18 b/net-im/silc-server/files/digest-silc-server-0.9.18
new file mode 100644
index 000000000000..78f07feb2ed7
--- /dev/null
+++ b/net-im/silc-server/files/digest-silc-server-0.9.18
@@ -0,0 +1 @@
+MD5 c74b2ba088a81b670a64d350239cde62 silc-server-0.9.18.tar.bz2 1169331
diff --git a/net-im/silc-server/files/silc-server.init.d b/net-im/silc-server/files/silc-server.init.d
new file mode 100644
index 000000000000..4a9531e2dddd
--- /dev/null
+++ b/net-im/silc-server/files/silc-server.init.d
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/files/silc-server.init.d,v 1.1 2004/07/15 21:36:02 swegener Exp $
+
+depend() {
+ need net
+ use dns
+}
+
+start() {
+ ebegin "Starting silc-server"
+ start-stop-daemon --start --quiet --exec /usr/sbin/silcd -- -f /etc/silc-server/silcd.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down silc-server"
+ start-stop-daemon --stop --pidfile /var/run/silcd.pid
+ eend $?
+}