Fixed PID file creation. Stop now works.
This commit is contained in:
@@ -24,7 +24,7 @@ pid_file="/var/run/${name}.pid"
|
||||
|
||||
mastodon_streaming_start(){
|
||||
chdir /home/mastodon/live
|
||||
/usr/sbin/daemon -S -l daemon -s debug -T ${name} \
|
||||
/usr/sbin/daemon -S -l daemon -s debug -T "${name}" -p "${pid_file}" \
|
||||
-u mastodon \
|
||||
/usr/bin/env -i \
|
||||
"NODE_ENV=production" "PORT=4000" "HOME=/home/mastodon" \
|
||||
|
||||
Reference in New Issue
Block a user