#!/bin/sh # # ntpd.service - ntpd service file # case $1 in start) /usr/bin/ntpd -p /var/run/ntpd.pid -l /var/log/ntp.log ;; stop) killall -q /usr/bin/ntpd ;; *) echo "usage: $0 start|stop" esac # EOF