[Lunar-commits] <moonbase-other> at: Build tweaks. Added systemd service file.

Stefan Wold ratler at lunar-linux.org
Tue Feb 12 18:36:50 CET 2013


commit 7ffc4c03851e9bce6e3cddadac79297c5ea48c49
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Tue, 12 Feb 2013 09:36:50 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/7ffc4c03851e9bce6e3cddadac79297c5ea48c49

at: Build tweaks. Added systemd service file.
---
  utils/at/BUILD                 | +8/-6     
  utils/at/DETAILS               | +1/-0     
  utils/at/systemd.d/atd.service | +9/-0     
  3 files changed, 18 insertions(+), 6 deletions(-)

--- a/utils/at/BUILD
+++ b/utils/at/BUILD
@@ -1,8 +1,10 @@
-mkdir  -p  /var/spool/atjobs                                   &&
-sedit "s/\$(prefix)\/doc/\$(prefix)\/share\/doc/" Makefile.in  &&
 
-default_build                                                  &&
+OPTS+=" --with-jobdir=/var/spool/atd \
+        --with-atspool=/var/spool/atd"
 
-if [[ ! -e  /etc/at.deny ]]; then
-  cp  at.deny   /etc
-fi
+default_config &&
+make &&
+prepare_install &&
+make docdir=/usr/share/doc install &&
+
+[ -e /etc/at.deny ] || install -m644 at.deny /etc/
--- a/utils/at/DETAILS
+++ b/utils/at/DETAILS
@@ -7,6 +7,7 @@
          ENTERED=20011011
          UPDATED=20110918
         SHORT="A periodic scheduler"
+PSAFE=no
 
 cat << EOF
 at contains at and batch which are daemons that allow processes to be
--- /dev/null
+++ b/utils/at/systemd.d/atd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=ATD daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/atd
+
+[Install]
+WantedBy=multi-user.target




More information about the Lunar-commits mailing list