~dricottone/huttese-apk

357c370a6cd2f3cd9316e914ec49f9e018a6c448 — Drew DeVault 5 years ago f37fe3d
Fix more indentation issues
M prometheus/prometheus-node-exporter/prometheus-node-exporter.initd => prometheus/prometheus-node-exporter/prometheus-node-exporter.initd +9 -9
@@ 3,19 3,19 @@ name="prometheus-node-exporter"
description="prometheus node exporter"

depend() {
        need net
	need net
}

start() {
        ebegin "Starting $name"
        start-stop-daemon -C --background --make-pidfile --pidfile /run/$name.pid \
                --exec /usr/bin/prometheus_node_exporter -- \
                        --web.listen-address=127.0.0.1:9100
        eend $?
	ebegin "Starting $name"
	start-stop-daemon -C --background --make-pidfile --pidfile /run/$name.pid \
		--exec /usr/bin/prometheus_node_exporter -- \
		--web.listen-address=127.0.0.1:9100
	eend $?
}

stop() {
        ebegin "Stopping $name"
        start-stop-daemon --stop --exec /usr/bin/prometheus-node-exporter --pidfile /run/$name.pid
        eend $?
	ebegin "Stopping $name"
	start-stop-daemon --stop --exec /usr/bin/prometheus-node-exporter --pidfile /run/$name.pid
	eend $?
}

M sr.ht/git.sr.ht/git.sr.ht.init => sr.ht/git.sr.ht/git.sr.ht.init +5 -3
@@ 16,10 16,12 @@ depend() {

start() {
	ebegin "Starting $name"
	touch "$LOGS"
	chown $GIT_USER "$LOGS"
	start-stop-daemon \
		-u ${GIT_USER} \
        -1 "$LOGS" \
        -2 "$LOGS" \
		-u $GIT_USER \
		-1 "$LOGS" \
		-2 "$LOGS" \
		--background \
		--make-pidfile \
		--pidfile /run/$name.pid \

M sr.ht/man.sr.ht/man.sr.ht.init => sr.ht/man.sr.ht/man.sr.ht.init +2 -5
@@ 15,11 15,8 @@ depend() {
}

start() {
    if ! [ -e $LOGS ]
    then
        touch $LOGS
        chown $MAN_USER /var/log/man.sr.ht.log
    fi
	touch "$LOGS"
	chown $MAN_USER "$LOGS"
	ebegin "Starting $name"
	start-stop-daemon \
		-u ${MAN_USER} \

M sr.ht/meta.sr.ht/meta.sr.ht.init => sr.ht/meta.sr.ht/meta.sr.ht.init +3 -1
@@ 16,8 16,10 @@ depend() {

start() {
	ebegin "Starting $name"
	touch "$LOGS"
	chown $META_USER "$LOGS"
	start-stop-daemon \
		-u ${META_USER} \
		-u $META_USER \
		-1 "$LOGS" \
		-2 "$LOGS" \
		--background \

M sr.ht/todo.sr.ht/todo.sr.ht.init => sr.ht/todo.sr.ht/todo.sr.ht.init +3 -1
@@ 16,8 16,10 @@ depend() {

start() {
	ebegin "Starting $name"
	touch "$LOGS"
	chown $TODO_USER "$LOGS"
	start-stop-daemon \
		-u ${TODO_USER} \
		-u $TODO_USER \
		-1 "$LOGS" \
		-2 "$LOGS" \
		--background \