diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 14:54:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:41 +0000 |
commit | 983d221247cf438d21ccbf3947da1e7e9f6daf88 (patch) | |
tree | 1e7b68fefc47da0f1f48fa6977707145c361ee4b /main/ruby-redmine-unicorn/unicorn.initd | |
parent | 3f0e94459bb38fcc6225d777028d2ed105b9caec (diff) | |
download | aports-983d221247cf438d21ccbf3947da1e7e9f6daf88.tar.bz2 aports-983d221247cf438d21ccbf3947da1e7e9f6daf88.tar.xz |
main/ruby-redmine-*: remove
We try to clean up and add versioned rails packages instead of redmine
specific packages
Diffstat (limited to 'main/ruby-redmine-unicorn/unicorn.initd')
-rw-r--r-- | main/ruby-redmine-unicorn/unicorn.initd | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/main/ruby-redmine-unicorn/unicorn.initd b/main/ruby-redmine-unicorn/unicorn.initd deleted file mode 100644 index 228023cd38..0000000000 --- a/main/ruby-redmine-unicorn/unicorn.initd +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/runscript - -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 -} |