mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Fix posgtres init script
This commit is contained in:
parent
29541688bf
commit
f67bf5076e
@ -28,6 +28,7 @@ start() {
|
|||||||
chown -R ${USER} ${DB_DIR}
|
chown -R ${USER} ${DB_DIR}
|
||||||
touch ${LOG}
|
touch ${LOG}
|
||||||
chown ${USER} ${LOG}
|
chown ${USER} ${LOG}
|
||||||
|
cd ${DB_DIR}
|
||||||
|
|
||||||
if [[ ! -f ${DB_DIR}/PG_VERSION ]]; then
|
if [[ ! -f ${DB_DIR}/PG_VERSION ]]; then
|
||||||
msg_begin "Initializing postgresql db"
|
msg_begin "Initializing postgresql db"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user