mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
scripts/supybot: Stop setting a umask. We'll just obey the user's umask setting.
This commit is contained in:
parent
47d84c1f7a
commit
c4b4fc03b0
@ -282,7 +282,8 @@ if __name__ == '__main__':
|
|||||||
signal.signal(signal.SIGHUP, signal.SIG_IGN)
|
signal.signal(signal.SIGHUP, signal.SIG_IGN)
|
||||||
log.info('Completed daemonization. Current PID: %s', os.getpid())
|
log.info('Completed daemonization. Current PID: %s', os.getpid())
|
||||||
|
|
||||||
os.umask(077)
|
# Stop setting our own umask. See comment above.
|
||||||
|
#os.umask(077)
|
||||||
|
|
||||||
# Let's write the PID file. This has to go after daemonization, obviously.
|
# Let's write the PID file. This has to go after daemonization, obviously.
|
||||||
pidFile = conf.supybot.pidFile()
|
pidFile = conf.supybot.pidFile()
|
||||||
|
Loading…
Reference in New Issue
Block a user