Commit Graph

4 Commits

Author SHA1 Message Date
Deoren Moor
89e54ac90a Reference include file before exporting $USER
We should check for and pull in the include file before exporting `$USER` in case the user has opted to override the default setting.
2015-08-19 08:59:11 -05:00
Deoren Moor
194fbe3776 Fixed placement of inclusion of overrides file
In the last commit I mistakenly placed the inclusion of the "overrides" file _after_ the $DAEMON variable test instead of before it as I meant to do.
2015-08-03 00:51:21 -05:00
Deoren Moor
6f2a9f4a02 Update init script to reference /etc/default file
Instead of requiring the user to modify the /etc/init.d/httpuploadcomponent file, the init.d script should support checking for and including the corresponding /etc/default/httpuploadcomponent conf file (if present). This will allow the user to customize the settings for the daemon to match their specific environment.

References:

- https://www.debian.org/doc/debian-policy/ch-opersys.html
2015-08-02 13:27:37 -05:00
Lars Bensmann
c3b41b2415 Make configfile and logfile configurable via commandline options
Use argparse to parse --config und --logfile so it can be better used from
a startup script.

Add Debian startup-script in contrib/
2015-07-18 14:04:17 +02:00