mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 00:02:38 +00:00
21 lines
1.4 KiB
Text
Executable file
21 lines
1.4 KiB
Text
Executable file
## This is an example config file for use with running as a daemon on ubuntu.
|
|
## ( you can just make a blank file with the required lines as well )
|
|
##
|
|
## Edit & Copy this file to /etc/default/mylar
|
|
## Otherwise default mylar options are used (all default options are stated below)
|
|
##
|
|
### ADD THE REQUIRED OPTIONS ON INDIVIDUAL LINES BELOW THE 'END OF' ..(ie. MYLAR_USER=evil)
|
|
###
|
|
## .:[CONFIG OPTIONS]:.
|
|
##
|
|
### MYLAR_USER= #$RUN_AS, username to run mylar under, the default is mylar
|
|
### MYLAR_HOME= #$APP_PATH, the location of mylar.py, the default is /opt/mylar
|
|
### MYLAR_DATA= #$DATA_DIR, the location of mylar.db, cache, logs, the default is /opt/mylar
|
|
### MYLAR_PIDFILE #$PIDFILE, the location of the pidfile, the default is /var/run/mylar/mylar.pid
|
|
### PYTHON_BIN= #$DAEMON, the location of the python binary, the default is /usr/bin/python
|
|
### MYLAR_OPTS= #$EXTRA_DAEMON_OPTS, extra cli option for mylar, i.e. " --config=/home/mylar/config.ini"
|
|
### SSD_OPTS= #$EXTRA_SSD_OPTS, extra start-stop-daemon option like " --group=users"
|
|
### MYLAR_PORT= #$PORT_OPTS, hardcoded port for the webserver, overrides value in config.ini
|
|
##
|
|
## END OF..
|
|
##########################################################################################################3
|