summaryrefslogtreecommitdiffstats
path: root/main/redmine
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2012-12-06 18:50:10 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2012-12-06 18:54:26 +0100
commit31ac7d0b6e5e817a9099399764d84f40c81caad8 (patch)
tree84fa3e62c69474a96688db257f1516739e879f46 /main/redmine
parent3b6ebba9ab54d866dbcef646b5170ab2534ee86f (diff)
downloadaports-31ac7d0b6e5e817a9099399764d84f40c81caad8.tar.bz2
aports-31ac7d0b6e5e817a9099399764d84f40c81caad8.tar.xz
main/ruby-unicorn: add init and default redmine config
Diffstat (limited to 'main/redmine')
-rw-r--r--main/redmine/redmine.initd40
1 files changed, 0 insertions, 40 deletions
diff --git a/main/redmine/redmine.initd b/main/redmine/redmine.initd
deleted file mode 100644
index 3371c6d98..000000000
--- a/main/redmine/redmine.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/runscript
-
-gem_path=$(gem env gemdir)
-name="unicorn_rails"
-start_script="$gem_path/bin/$name"
-app_dir="/usr/share/webapps/redmine"
-user="redmine"
-
-depend() {
- use logger dns
- need net
- after firewall
-}
-
-start() {
- ebegin "Starting redmine"
- start-stop-daemon --start --quiet \
- -u $user \
- -d $app_dir \
- $start_script -- \
- -D -E production
- eend $?
-}
-
-stop() {
- ebegin "Stopping redmine"
- start-stop-daemon --stop \
- --name $name
- eend $?
- sleep 1
-}
-
-
-reload() {
- ebegin "Reload redmine"
- start-stop-daemon --signal USR2 \
- --name $name
- eend $?
-}
-