blob: 1bad600295d2912cc43181178ff4b73178fffa08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
UHUB_USER="${UHUB_USER:-uhub}"
UHUB_GROUP="${UHUB_GROUP:-uhub}"
UHUB_LOG="/var/log/uhub.log"
# Options to UHUB
# -v Verbose mode. Add more -v's for higher verbosity.
# -q Quiet mode - no output
# -f Fork to background
# -l <file> Log messages to given file (default: stderr)
# -L Log messages to syslog
# -c <file> Specify configuration file (default: /etc/uhub/uhub.conf)
# -S Show configuration parameters, but ignore defaults
# -u <user> Run as given user
# -g <group> Run with given group permissions
# -p <file> Store pid in file (process id)
UHUBOPTIONS="-u ${UHUB_USER} -g ${UHUB_GROUP} -f -p /var/run/uhub.pid -l ${UHUB_LOG}"
|