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

15 lines
265 B
Plaintext
Raw Normal View History

2022-12-08 08:09:51 +00:00
#!/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
2023-02-01 08:50:08 +00:00
s6-envdir -I /etc/s6/env/path
emptyenv -p
2022-12-08 08:09:51 +00:00
# Log everything to stdout
fdmove -c 2 1
2023-02-01 08:50:08 +00:00
ceph-${DAEMON} -d -i $ID -c $CONFIG