Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Init script for openproject-ce
- # Generated by pkgr.
- # Implemented based on LSB Core 3.1:
- # * Sections: 20.2, 20.3
- #
- ### BEGIN INIT INFO
- # Provides: openproject-ce
- # Required-Start: $remote_fs $syslog
- # Required-Stop: $remote_fs $syslog
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Description: OpenProject Community Edition packaged by packager.io
- ### END INIT INFO
- set -e
- name="openproject-ce"
- delegate() {
- for file in $(ls -1 /etc/init.d/${name}-*[!-0-9] 2>/dev/null); do
- ${file} "${1}"
- done
- }
- case "$1" in
- start|stop|force-stop|status|restart) delegate "${1}" ;;
- *)
- echo "Usage: $SCRIPTNAME {start|stop|force-stop|status|restart}" >&2
- exit 3
- ;;
- esac
- exit $?m
Advertisement
Add Comment
Please, Sign In to add comment