systemd-units: fixed ntpd and dcron units.

This commit is contained in:
Juan RP 2011-10-09 19:38:46 +02:00
parent 5fef6946d7
commit 46cfcf828b
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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>"