diff options
author | Credomane Evonguard <bb00200@gmail.com> | 2017-06-14 19:37:32 -0500 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-06-14 20:37:32 -0400 |
commit | 3df25fadfa82aa79635396c979afdb73ef93f652 (patch) | |
tree | ee9d49b191e96930ae04063a0cea2f5b66f07305 /scripts/init/debian/gogs | |
parent | 0e6a6bf880f950dfc46545b4172bfa980dd6d505 (diff) |
scripts: fix LSB init scripts so gogs starts when using mysql/postgresql for database (#4561)
Diffstat (limited to 'scripts/init/debian/gogs')
-rw-r--r-- | scripts/init/debian/gogs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/init/debian/gogs b/scripts/init/debian/gogs index fb00cd51..cc241519 100644 --- a/scripts/init/debian/gogs +++ b/scripts/init/debian/gogs @@ -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 - -: |