Mercurial Hosting > luan
view backup/start.sh @ 2055:a72cd62f9281 acme-tiny tip
specify nginx config path
| author | Violet7 |
|---|---|
| date | Tue, 11 Nov 2025 19:19:49 -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;
