Commit a407ac75 authored by Boxiang Sun's avatar Boxiang Sun

peertube: restore fixup

parent 2db60f5b
...@@ -54,4 +54,4 @@ md5sum = 58d1a4fe246169dea94d7d243b4bac9e ...@@ -54,4 +54,4 @@ md5sum = 58d1a4fe246169dea94d7d243b4bac9e
[template-peertube-restore-script] [template-peertube-restore-script]
filename = template-peertube-restore.sh.in filename = template-peertube-restore.sh.in
md5sum = 5b9eea04afd548cfcb1e1a64b97a4f66 md5sum = 6c29314bc607bdb0c38550330e892c35
...@@ -43,9 +43,12 @@ if [ -e "$pid_file" ]; then ...@@ -43,9 +43,12 @@ if [ -e "$pid_file" ]; then
echo "postgresql is running, continue." echo "postgresql is running, continue."
else else
echo "Starting postgresql..." echo "Starting postgresql..."
$${postgresql:bin}/postgres -D $${postgresql:pgdata-directory} & output=$${postgresql:bin}/postgres -D $${postgresql:pgdata-directory} &
postgres_pid=$! echo $output
echo $postgres_pid # $${postgresql:bin}/postgres -D $${postgresql:pgdata-directory} &
# postgres_pid=$!
# echo $postgres_pid
# wait $postgres_pid
echo "Anyway, the postgresql is running..." echo "Anyway, the postgresql is running..."
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment