examples: add systemd services

This commit is contained in:
Miroslav Lichvar
2014-09-04 17:30:36 +02:00
parent c924fba4fa
commit b5e0d76337
2 changed files with 30 additions and 0 deletions

13
examples/chronyd.service Normal file
View File

@@ -0,0 +1,13 @@
[Unit]
Description=NTP client/server
After=ntpdate.service sntp.service ntpd.service
Conflicts=ntpd.service systemd-timesyncd.service
[Service]
Type=forking
PIDFile=/var/run/chronyd.pid
EnvironmentFile=-/etc/sysconfig/chronyd
ExecStart=/usr/sbin/chronyd $OPTIONS
[Install]
WantedBy=multi-user.target