This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsupervisor-conf.d-maps.example.conf
41 lines (39 loc) · 2.52 KB
/
supervisor-conf.d-maps.example.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[program:maps3]
directory=/path/to/repo/wmch-interactive-maps
command=/path/to/repo/wmch-interactive-maps/app.sh 9030
user=userhere ; setuid to this UNIX account to run the program
environment=HOME="/home/userhere",USER="userhere",NVM_DIR="$HOME/.nvm"
priority=13 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true)
autorestart=true ; retstart at unexpected quit (default: true)
startsecs=-1 ; number of secs prog must stay running (def. 10)
exitcodes=0,2 ; 'expected' exit codes for process (default 0,2)
stopsignal=QUIT ; signal used to kill process (default TERM)
logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
logfile_backups=10 ; # of logfile backups (default 10)
[program:maps3shot]
directory=/path/to/repo/wmch-interactive-maps
command=/path/to/repo/wmch-interactive-maps/screenshot.sh
user=userhere ; setuid to this UNIX account to run the program
environment=HOME="/home/userhere",USER="userhere",NVM_DIR="$HOME/.nvm"
priority=14 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true)
autorestart=true ; retstart at unexpected quit (default: true)
startsecs=-1 ; number of secs prog must stay running (def. 10)
exitcodes=0,2 ; 'expected' exit codes for process (default 0,2)
stopsignal=QUIT ; signal used to kill process (default TERM)
logfile_maxbytes=2MB ; max # logfile bytes b4 rotation (default 50MB)
logfile_backups=5 ; # of logfile backups (default 10)
[program:maps3cron]
directory=/path/to/repo/wmch-interactive-maps
command=/path/to/repo/wmch-interactive-maps/cron.sh
user=userhere ; setuid to this UNIX account to run the program
environment=HOME="/home/userhere",USER="userhere",NVM_DIR="$HOME/.nvm"
priority=15 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true)
autorestart=true ; retstart at unexpected quit (default: true)
startsecs=-1 ; number of secs prog must stay running (def. 10)
exitcodes=0,2 ; 'expected' exit codes for process (default 0,2)
stopsignal=QUIT ; signal used to kill process (default TERM)
logfile_maxbytes=2MB ; max # logfile bytes b4 rotation (default 50MB)
logfile_backups=5 ; # of logfile backups (default 10)