8 # Add the following line to /etc/rc.conf to enable bopm:
9 # bopm_enable (bool): Set to "NO" by default.
10 # Set it to "YES" to enable bopm.
11 # bopm_config (str): Default to "%%PREFIX%%/etc/bopm.conf"
12 # Configuration file for bopm.
13 # bopm_flags (str): Custom flags passed to the bopm
14 # daemon (default empty).
24 : ${bopm_config="%%PREFIX%%/etc/bopm.conf"}
27 pidfile="/var/run/bopm.pid"
28 required_files="${bopm_config}"
30 # NOTE: bopm behaves differently with or without the -d flag.
31 # If you choose to use -d, you will probably need to redirect
32 # stdout and stderr to appropriate places.
34 command="%%PREFIX%%/bin/bopm"
35 command_args="${bopm_flags} &"