ports/main/nnd-s6-services/tmpl/ceph

15 lines
265 B
Plaintext
Executable File

#!/bin/execlineb -W
importas -i DAEMON DAEMON
importas -i ID ID
s6-envdir -I /etc/s6/env/ceph
importas -D "/etc/ceph/ceph.conf" CONFIG CONFIG
s6-envdir -I /etc/s6/env/path
emptyenv -p
# Log everything to stdout
fdmove -c 2 1
ceph-${DAEMON} -d -i $ID -c $CONFIG