diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/twisted/files/twistd.init | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/twisted/files/twistd.init')
-rw-r--r-- | dev-python/twisted/files/twistd.init | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-python/twisted/files/twistd.init b/dev-python/twisted/files/twistd.init deleted file mode 100644 index b031b0020c6e..000000000000 --- a/dev-python/twisted/files/twistd.init +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need net -} - -start() { - if [ -z "${TWISTD_OPTS}" ]; then - eerror "TWISTD_OPTS is not set!" - eerror "You need to configure twistd in /etc/conf.d/twistd." - return 1 - fi - export PYTHONPATH - ebegin "Starting twistd" - start-stop-daemon --start --quiet --pidfile /var/run/twistd.pid \ - --exec /usr/bin/twistd -- --pidfile /var/run/twistd.pid \ - ${TWISTD_OPTS} - eend $? "Failed to start twistd" -} - -stop() { - ebegin "Stopping twistd" - start-stop-daemon --stop --quiet --pidfile /var/run/twistd.pid - eend $? "Failed to stop twistd" -} |