diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/ices/files/ices.initd |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/ices/files/ices.initd')
-rw-r--r-- | net-misc/ices/files/ices.initd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/ices/files/ices.initd b/net-misc/ices/files/ices.initd new file mode 100644 index 000000000000..ada3b4943e28 --- /dev/null +++ b/net-misc/ices/files/ices.initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run + +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 $? +} |