aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/partimage/files/partimaged.init.2')
-rw-r--r--sys-block/partimage/files/partimaged.init.228
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-block/partimage/files/partimaged.init.2 b/sys-block/partimage/files/partimaged.init.2
deleted file mode 100644
index 3bbb99d1..00000000
--- a/sys-block/partimage/files/partimaged.init.2
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2005-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-PARTIMAGED="/usr/sbin/partimaged"
-
-failed_startup() {
- eerror "The PartImage daemon did not start up correctly."
- eerror "Perhaps you compiled it with SSL support but forgot to run the ebuild config?"
- return 1
-}
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting partimaged"
- start-stop-daemon --start --exec ${PARTIMAGED} \
- -- ${PARTIMAGED_OPTS} --daemon
- eend $? || failed_startup
-}
-
-stop() {
- ebegin "Stopping partimaged"
- start-stop-daemon --stop --exec ${PARTIMAGED}
- eend $?
-}