scripts: fix LSB init scripts so gogs starts when using mysql/postgresql for database (#4561)

pull/4584/head
Credomane Evonguard 2017-06-14 19:37:32 -05:00 committed by 无闻
parent 0e6a6bf880
commit 3df25fadfa
3 changed files with 6 additions and 2 deletions

View File

@ -12,6 +12,8 @@
# Provides: gogs
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: mysql postgresql
# Should-Stop: mysql postgresql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start gogs at boot time.

View File

@ -3,6 +3,8 @@
# Provides: gogs
# Required-Start: $syslog $network
# Required-Stop: $syslog
# Should-Start: mysql postgresql
# Should-Stop: mysql postgresql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: A self-hosted Git service written in Go.
@ -122,5 +124,3 @@ case "$1" in
exit 3
;;
esac
:

View File

@ -9,6 +9,8 @@
# Provides: gogs
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: mysql postgresql
# Should-Stop: mysql postgresql
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start gogs at boot time.