diff --git a/srcpkgs/systemd-units/files/dcron.service b/srcpkgs/systemd-units/files/dcron.service index 4ef1dd171ac..59fc64b80bb 100644 --- a/srcpkgs/systemd-units/files/dcron.service +++ b/srcpkgs/systemd-units/files/dcron.service @@ -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 diff --git a/srcpkgs/systemd-units/files/ntpd.service b/srcpkgs/systemd-units/files/ntpd.service index 1905213ffce..4fbf2bfd919 100644 --- a/srcpkgs/systemd-units/files/ntpd.service +++ b/srcpkgs/systemd-units/files/ntpd.service @@ -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 diff --git a/srcpkgs/systemd-units/template b/srcpkgs/systemd-units/template index f7d1d4368dc..b863e57006c 100644 --- a/srcpkgs/systemd-units/template +++ b/srcpkgs/systemd-units/template @@ -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 "