1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-25 05:54:27 +00:00

10 Commits

Author SHA1 Message Date
Hidden Z
06468a3c7c Properly setup django in standalone scripts
https://docs.djangoproject.com/en/dev/releases/1.7/#standalone-scripts
2015-11-16 19:20:50 +00:00
Hidden Z
d975295892 py-i2phosts-master: relax daemon umask to 022
I don't remember why it was set to 077 initially, but now I see it
causes problems. Exactly, py-i2phosts-builer called from master creates
hosts.txt file with 600 permissions, so file is not readable by nginx
for example. New umask fixes this problem.
2015-11-15 19:38:34 +00:00
Hidden Z
cb38a370c0 py-i2phosts-master: fix dirty merge 2015-11-06 17:24:25 +00:00
Hidden Z
6e3862d7ab Convert tabs to spaces 2015-10-27 19:41:44 +00:00
Hidden Z
e2c2eeeaae py-i2phosts-master: chown log_file before daemonization
Master log file first opened as root, than daemonization with privilege
drop happens and master then unable to log to this logfile because of
insufficient permissions. So chown logfile to "runas" user to avoid this
situation.
2013-10-07 17:12:20 +00:00
Hidden Z
285ca6d4f9 py-i2phosts-master: unify import 2013-10-07 17:11:46 +00:00
Hidden Z
484cb5bee7 Update default DJANGO_PROJECT_PATH 2013-09-27 18:50:03 +00:00
Hidden Z
a432ef81a9 Update DJANGO_SETTINGS_MODULE in scripts 2013-09-27 18:49:41 +00:00
Hidden Z
0a77e60e72 py-i2phosts-master: add import workaround
In python-daemon 1.6 they renamed pidlockfile.py to pidfile.py.
2013-09-27 18:27:47 +00:00
Hidden Z
4a1d0a1f96 Move py-i2phosts-* to bin/ 2013-09-27 18:25:36 +00:00