Mercurial Hosting > luan
view backup/start.sh @ 2157:484d2b42f2d1 nginx_sites_addon tip
only include nginx.conf in nginx_sites in nginx.conf.luan
| author | Violet7 |
|---|---|
| date | Tue, 27 Jan 2026 19:51:41 -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;
