##// END OF EJS Templates
server: drop executable bit from daemon log file...
Yuya Nishihara -
r34925:bfcd0d22 stable
parent child Browse files
Show More
@@ -93,7 +93,8 b' def runservice(opts, parentfn=None, init'
93 93 nullfd = os.open(os.devnull, os.O_RDWR)
94 94 logfilefd = nullfd
95 95 if logfile:
96 logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND)
96 logfilefd = os.open(logfile, os.O_RDWR | os.O_CREAT | os.O_APPEND,
97 0o666)
97 98 os.dup2(nullfd, 0)
98 99 os.dup2(logfilefd, 1)
99 100 os.dup2(logfilefd, 2)
General Comments 0
You need to be logged in to leave comments. Login now