ports/main/nnd-s6-services/tmpl/ceph
Alex Denes 29b838ff96
Bump version
- Add chronyd as alternative ntpd
- Merge timesync in a bundle with ntpd as default
- Rename ntpd.1 to ntpd
- Fix missing imports for XDG stuff
- Add safety net against overwriting currently active/booted s6 service database
2024-06-20 20:12:55 +00:00

13 lines
294 B
Plaintext
Executable File

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