diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-01 17:26:53 +0100 |
commit | 3ce3c4fd596debefbad77328a9b62a39eccf753c (patch) | |
tree | 8ea8842d946335dbd124e71336a11b928481c544 /unmaintained/ruby-unicorn/unicorn.initd | |
parent | 62b8ba5f8fe6d62d56b2d078b4f12f72830ee4af (diff) | |
download | aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.bz2 aports-3ce3c4fd596debefbad77328a9b62a39eccf753c.tar.xz |
unmaintained/*: purge aports not touched since v3.5.0
We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to
periodically purge aports in unmaintained that haven't been touched
in last 1 year (2 releases).
Diffstat (limited to 'unmaintained/ruby-unicorn/unicorn.initd')
-rw-r--r-- | unmaintained/ruby-unicorn/unicorn.initd | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/unmaintained/ruby-unicorn/unicorn.initd b/unmaintained/ruby-unicorn/unicorn.initd deleted file mode 100644 index daa4fa47a5..0000000000 --- a/unmaintained/ruby-unicorn/unicorn.initd +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/openrc-run - -gem_path=$(gem env gemdir) -name="unicorn_rails" -start_script="$gem_path/bin/$name" - -depend() { - use logger dns - need net - after firewall -} - -start() { - checkconfig || return 1 - - ebegin "Starting unicorn" - start-stop-daemon --start --quiet \ - $start_script -- \ - -D -E $ENV -c $CONF - eend $? -} - -stop() { - ebegin "Stopping unicorn" - start-stop-daemon --stop \ - --name $name - eend $? - sleep 1 -} - - -reload() { - ebegin "Reload unicorn" - start-stop-daemon --signal USR2 \ - --name $name - eend $? -} - -checkconfig() { - if [ -z "$CONF" ]; then - eerror "No configuration file set in confd!" - return 1 - fi -} |