aports/testing/ntpd-rs/ntpd-rs.initd
2024-06-29 17:08:03 +00:00

15 lines
310 B
Bash

#!/sbin/openrc-run
name=$RC_SVCNAME
description="Network Time Service (ntpd-rs)"
supervisor="supervise-daemon"
command="/usr/bin/ntp-daemon"
supervise_daemon_args=" -e "RUST_LOG=\"info"\""
command_user="ntpd-rs:ntpd-rs"
capabilities="^cap_sys_time"
depend() {
need net
provide ntp-client
after firewall
}