Skip to content

Commit a10fc74

Browse files
author
Lars Gierth
committed
Merge pull request #76 from Shnatsel/patch-10
Propagate the changes from #74 to upstart script
2 parents 72da808 + 181e2c3 commit a10fc74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/upstart/cjdns.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ respawn
1010
respawn limit 2 300
1111

1212
pre-start script
13-
if ! [ -e /etc/cjdroute.conf ]; then
13+
if ! [ -s /etc/cjdroute.conf ]; then
1414
( # start a subshell to avoid side effects of umask later on
1515
umask 077 # to create the file with 600 permissions without races
1616
/usr/bin/cjdroute --genconf > /etc/cjdroute.conf

0 commit comments

Comments
 (0)