HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/etc.defaults/init/ntpd.conf
description "start ntpd"
author "System Integration Team"

console log
start on syno.network.ready

stop on runlevel [06]
expect fork

respawn
respawn limit 5 10

pre-start script
    [ ! -d /run/ntp ] && /bin/mkdir -p /run/ntp && /bin/chown ntp:ntp /run/ntp || true
    if [ ! -f /etc/ntp.conf -o ! -x /usr/sbin/ntpd ]; then
        stop; exit 1
    fi
end script

exec /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u ntp:ntp

pre-stop script
    /bin/rm -f /var/run/ntpd.pid
end script