From 3f4adf4a353ac44b78fdbe4646ba632fb2fd7e8f Mon Sep 17 00:00:00 2001 From: cremesk Date: Sun, 30 Jun 2019 15:30:37 +0200 Subject: [PATCH] move config file in folder --- 0x0.service => conf/0x0.service | 0 conf/cleanup_0x0 | 5 +++++ nginx.conf => conf/nginx.conf | 0 fhost.py | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) rename 0x0.service => conf/0x0.service (100%) create mode 100644 conf/cleanup_0x0 rename nginx.conf => conf/nginx.conf (100%) diff --git a/0x0.service b/conf/0x0.service similarity index 100% rename from 0x0.service rename to conf/0x0.service diff --git a/conf/cleanup_0x0 b/conf/cleanup_0x0 new file mode 100644 index 0000000..0137c23 --- /dev/null +++ b/conf/cleanup_0x0 @@ -0,0 +1,5 @@ +# /etc/cron.d/cleanup_0x0 +SHELL=/bin/sh +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +5 */12 * * * root python3 /srv/0x0/cleanup.py >/dev/null 2>&1 diff --git a/nginx.conf b/conf/nginx.conf similarity index 100% rename from nginx.conf rename to conf/nginx.conf diff --git a/fhost.py b/fhost.py index 86933da..c86a1e0 100755 --- a/fhost.py +++ b/fhost.py @@ -379,7 +379,7 @@ UPLOAD DIRECTLY * alt-right shitposting If you run a server and like this site, clone it! Centralization is bad. -https://github.com/lachs0r/0x0 +https://github.com/cremesk/0x0 FILE RETENTION PERIOD