Elimina el plugin Redmine Git Hosting
Finalmente se descarta por los problemas de configuración y potencial brecha de seguridad al requerir acceso global al puerto ssh.
This commit is contained in:
parent
bdd66d941f
commit
0edadcfed8
494 changed files with 0 additions and 36768 deletions
|
@ -1,36 +0,0 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: redmine
|
||||
# Required-Start: $local_fs $remote_fs $network $mysql $named
|
||||
# Required-Stop: $local_fs $remote_fs $network $mysql $named
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Redmine projects manager
|
||||
# Description: This file should be used to start and stop Redmine.
|
||||
### END INIT INFO
|
||||
|
||||
[ -f /etc/default/rcS ] && . /etc/default/rcS
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
REDMINE_USER="redmine"
|
||||
|
||||
WEBSERVER="server_puma"
|
||||
WORKER1="sidekiq_git_hosting"
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
su - $REDMINE_USER -c "${WEBSERVER}.sh start"
|
||||
su - $REDMINE_USER -c "${WORKER1}.sh start"
|
||||
;;
|
||||
stop)
|
||||
su - $REDMINE_USER -c "${WEBSERVER}.sh stop"
|
||||
su - $REDMINE_USER -c "${WORKER1}.sh stop"
|
||||
;;
|
||||
restart)
|
||||
su - $REDMINE_USER -c "${WEBSERVER}.sh restart"
|
||||
su - $REDMINE_USER -c "${WORKER1}.sh restart"
|
||||
;;
|
||||
*)
|
||||
echo "Usage : /etc/init.d/redmine {start|stop|restart}"
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue