Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/ipfs
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | if [ ! -d /var/db/ipf ]; then | ||||
| mkdir /var/db/ipf | mkdir /var/db/ipf | ||||
| chmod 700 /var/db/ipf | chmod 700 /var/db/ipf | ||||
| chown root:wheel /var/db/ipf | chown root:wheel /var/db/ipf | ||||
| fi | fi | ||||
| ${ipfs_program} -W ${rc_flags} | ${ipfs_program} -W ${rc_flags} | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj: config setting | |||||
| ipfs_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||