1
0
Commit Graph

18 Commits

Author SHA1 Message Date
a9a82868ca
Chrooting. 2022-02-08 23:08:03 +04:00
3a1e044b6d
Clean up the code a little. 2022-02-08 22:48:05 +04:00
94437e3bab
Serve embed assets fs instead. 2022-02-08 17:46:16 +04:00
29931cca2f
Removed .Hours().
Reduced logClean output.
2022-02-08 02:35:48 +04:00
ddaf2bb991
Add addtional closeSignal chan for program to wait for. 2022-02-08 02:05:38 +04:00
e45bb01f49
Use inotify fs watcher. Also shorten errors msg for loggers instantiation. 2022-02-08 00:26:59 +04:00
de77530962
Set NotFound handler in main. 2022-02-07 22:52:01 +04:00
ed3b0080a3
Moved substituting user to a func for upload-clear. 2022-02-07 22:04:40 +04:00
38ec161ae9
Moved substituting user to a func for upload. 2022-02-07 22:04:00 +04:00
2fb9db01b0
Added a flag for logging to stdout that if set overrides configuration.
Substitute to user from config file.
Moved logging to own one.
2022-02-07 21:23:13 +04:00
53bf25364a
Added a flag for logging to stdout that if set overrides configuration. 2022-02-07 21:12:30 +04:00
43c52dd754
Now program must try to run as a user set in a config file.
init loggers from new config options.
2022-02-07 20:36:41 +04:00
7bd462d1d6
Changed logging. 2022-02-07 19:35:48 +04:00
65ed3ec924
Updated ServeStatic and GET file request handler and path. 2022-02-07 04:46:46 +04:00
d4e7a7fa25
Fixed flags parsing. Added more handlers. 2022-02-06 15:25:27 +04:00
9b5ae547cc
Snake case to camel case. Fixed argument parsing. Added a statistics log line to tell how much files gets deleted. 2022-02-06 03:03:01 +04:00
8f9f4f0e30
Added use of configuratuin param KeepForHours to decide if file is to be deleted. 2022-02-06 02:26:55 +04:00
d4852ee6dd
Initial commit. 2022-02-06 02:22:23 +04:00