mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-07 05:57:30 +08:00
fix(init script):
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
chmod +x ./misc/system_init.sh
|
||||
setsid ./misc/system_init.sh &
|
||||
|
||||
if [ -f ../application/logs/install.lock ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo '> Start post initialization...'
|
||||
echo 'await system initializing...'
|
||||
sleep 10
|
||||
sleep 30
|
||||
|
||||
echo '> Start post initialization...'
|
||||
|
||||
cp ./config.template.yaml ./env/config.yaml
|
||||
cp ./env.template.yaml ./env/env.yaml
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
#!/bin/bash
|
||||
exec /usr/sbin/init
|
||||
setsid ./misc/initailize_container.sh &
|
||||
|
||||
exec /usr/sbin/init
|
||||
|
||||
Reference in New Issue
Block a user