]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: do not chdir unless daemonizing
authorEric Wong <e@80x24.org>
Tue, 2 Aug 2016 01:47:54 +0000 (01:47 +0000)
committerEric Wong <e@80x24.org>
Tue, 2 Aug 2016 07:49:22 +0000 (07:49 +0000)
commit21d3fe9db86dc235b914cedbb21b513b96b95184
tree8bb9c97b93d15fd9ae25345422b97bf88ef57505
parent3f4c9ce3d2c0796c6c3f352b5b586ddd7a85ffb0
daemon: do not chdir unless daemonizing

As far as most process managers are concerned (e.g. systemd),
they should already start in '/'.  So avoid making our daemon
more complex to run by requiring absolute paths during
development.
lib/PublicInbox/Daemon.pm