mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 12:06:41 +02:00
15 lines
310 B
Bash
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
|
|
}
|