Merge pull request #164 from PGYER/dev/master

fix(init script): set initailize script
This commit is contained in:
Carney Wu
2023-06-06 14:05:58 +08:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/bash
exec /usr/sbin/init
chmod +x ./misc/initailize_container.sh
setsid ./misc/initailize_container.sh &
if [ -f ../application/logs/install.lock ]; then
exit 0

2
misc/system_init.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/sbin/init