We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72da808 + 181e2c3 commit a10fc74Copy full SHA for a10fc74
1 file changed
contrib/upstart/cjdns.conf
@@ -10,7 +10,7 @@ respawn
10
respawn limit 2 300
11
12
pre-start script
13
- if ! [ -e /etc/cjdroute.conf ]; then
+ if ! [ -s /etc/cjdroute.conf ]; then
14
( # start a subshell to avoid side effects of umask later on
15
umask 077 # to create the file with 600 permissions without races
16
/usr/bin/cjdroute --genconf > /etc/cjdroute.conf
0 commit comments