1# This is the configuration file for paladin. It follows TOML format. 2 3## Global options. 4 5# Where to send paladin's logging output. An empty string means stdout, which is 6# the default. 7#log_file = "/var/log/paladin.log" 8 9 10# Process options. Every process must have a section header like this: 11#[[process]] 12 13## Required fields. 14 15# Unique name used to identify the process. 16#name = program-name 17 18# Location of the program to run. 19#path = /path/to/binary 20 21## Optional fields. 22 23# Arguments to pass to the program. 24#args = [] 25 26# The cwd of the process. Defaults to /var/empty. 27#cwd = "/var/empty" 28 29# Which files to use for stdout and stderr. 30#stdout = "/dev/null" 31#stderr = "/dev/null" 32 33# Which user and group to use for the child. 34# user = "root" 35# group = "root" 36 37# Time to wait before restarting the process, in milliseconds. 38#restart_delay = 1000 39 40# Whether to disable restarting on failure. 41#ignore_failure = false 42 43# If a process exits within this many milliseconds, don't restart it. A value 44# of 0 disables this check. 45#min_runtime = 100 46 47# Which processes should be started before this one. 48#soft_depends = [ "prog1", "prog2" ] 49 50log_file = "/var/log/paladin.log" 51 52# Examples: 53#[[process]] 54#name = "my-program" 55#path = "/path/to/my-program" 56#args = [] 57#cwd = "/path/to" 58#restart_delay = 1000 59#min_runtime = 100 60#stdout = "/tmp/my-program-stdout" 61#user = "myuser" 62#group = "mygroup" 63 64#[[process]] 65#name = "my-other-program" 66#path = "/path/to/my-other-program" 67#args = ["-a", "-d"] 68#min_runtime = 100 69#soft_depends = [ "my-program" ] 70#restart_delay = 1000 71