Mercurial Hosting > luan
view backup/start.sh @ 2036:2740f8a9ba3a acme-tiny tip
First test prototype (also convert spaces to tabs and remove *.orig files)
| author | Violet7 |
|---|---|
| date | Wed, 05 Nov 2025 21:49:39 -0800 |
| parents | 14a690642b88 |
| children |
line wrap: on
line source
#!/bin/bash -e ROOTPWD=$(pwd); logsdir=${ROOTPWD}"/logs"; servelog=${logsdir}"/server.log"; if [ "$1" == "launchd" ]; then ${ROOTPWD}/luan.sh backup_server.luan $* &>${servelog} else ${ROOTPWD}/luan.sh backup_server.luan $* &>${servelog}& fi;
