annotate host/macos/startLuanhost.sh @ 1758:27a2530f04b6

fix reload nginx from startup script
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 20 Feb 2023 09:02:20 +0200
parents fd3d56f39450
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1632
0344a535b1db add doc
fffilimonov
parents:
diff changeset
1 #!/bin/bash
0344a535b1db add doc
fffilimonov
parents:
diff changeset
2
0344a535b1db add doc
fffilimonov
parents:
diff changeset
3 set -eu
0344a535b1db add doc
fffilimonov
parents:
diff changeset
4
0344a535b1db add doc
fffilimonov
parents:
diff changeset
5 cd "$1";
0344a535b1db add doc
fffilimonov
parents:
diff changeset
6
0344a535b1db add doc
fffilimonov
parents:
diff changeset
7 #can't determine if network is available at startup
0344a535b1db add doc
fffilimonov
parents:
diff changeset
8 sleep 60;
0344a535b1db add doc
fffilimonov
parents:
diff changeset
9
0344a535b1db add doc
fffilimonov
parents:
diff changeset
10 ./start.sh "launchd";