Sha256: 239992a244f07b9dc5b2a5fb5bbb523d587ebb80a1eab58c5010970c3f6efba8
Contents?: true
Size: 674 Bytes
Versions: 35
Compression:
Stored size: 674 Bytes
Contents
#!/sbin/runscript # Distributed under the terms of the MIT License NAME=gollum PID=/var/run/${NAME}.pid EXEC=/usr/local/bin/gollum LOG=/var/log/gollum.log depend() { need net } start() { # Change log file to be owned by GOLLUM_USER touch "${LOG}" chown "${GOLLUM_USER}" "${LOG}" ebegin "Starting Gollum" start-stop-daemon --start \ --name "${NAME}" \ --user "${GOLLUM_USER}" \ --pidfile "${PID}" \ --make-pidfile --background \ --stderr "${LOG}" \ --exec "${EXEC}" -- $GOLLUM_OPTS "$GOLLUM_BASE" eend $? } stop() { ebegin "Stopping Gollum" start-stop-daemon --stop \ --name "${NAME}" \ --user "${GOLLUM_USER}" \ --pidfile "${PID}" eend $? }
Version data entries
35 entries across 35 versions & 2 rubygems