Mercurial Hosting > luan
view backup/start.sh @ 2133:c3b4c19f2d8a
attempt to autodetect and use nginx confs dir
| author | Violet7 |
|---|---|
| date | Fri, 16 Jan 2026 17:29:05 -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;
