systemd-units: fixed ntpd and dcron units.
This commit is contained in:
parent
5fef6946d7
commit
46cfcf828b
|
@ -2,8 +2,9 @@
|
|||
Description=Periodic Command Scheduler
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
EnvironmentFile=/etc/conf.d/crond
|
||||
ExecStart=/usr/sbin/crond -f $CROND_ARGS
|
||||
ExecStart=/usr/sbin/crond $CROND_ARGS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -3,9 +3,8 @@ Description=Network Time Service
|
|||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
User=ntpd
|
||||
ExecStartPre=ln -sf /var/chroot/ntpd/var/db/ntpd.drift /var/db/ntpd.drift
|
||||
ExecStart=/usr/bin/ntpd -f /var/db/ntpd.drift -u ntpd:ntpd -i /var/chroot/ntpd -n
|
||||
ExecStartPre=-/bin/ln -sf /var/chroot/ntpd/var/db/ntpd.drift /var/db/ntpd.drift
|
||||
ExecStart=/usr/bin/ntpd -c /etc/ntp.conf -f /var/db/ntpd.drift -u ntpd:ntpd -i /var/chroot/ntpd -n
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'systemd-units'
|
||||
pkgname=systemd-units
|
||||
version=0.2
|
||||
version=0.3
|
||||
build_style=custom-install
|
||||
short_desc="Void GNU/Linux systemd units"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
|
Loading…
Reference in New Issue