[UPDATE] - add generate and docker compose

This commit is contained in:
Guillaume Astier
2021-12-10 14:24:04 +01:00
parent b6ab8110d2
commit 4dacaf53ff
8 changed files with 183 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
if [[ -x $1 ]]
then
$1
exit $?
fi
while true
do
sleep 1
# Running daemon
done
+10
View File
@@ -13,6 +13,16 @@ Res() {
}
WhileTrue() {
while true
do
sleep 1
done
}
if [[ $1 == "debug" ]] && WhileTrue
[[ $1 == "del" ]] && rm -Rf /data/repo /data/log