From 6695e282a58fe395046ec794dba88cfad3f524d8 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Sat, 26 Apr 2014 21:18:38 -0500 Subject: Merge changes from my local repo to the one at cross-lfs.org. --- clfs/tmpfiles/apcupsd.conf | 3 +++ clfs/units/apcupsd.service | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 clfs/tmpfiles/apcupsd.conf create mode 100644 clfs/units/apcupsd.service (limited to 'clfs') diff --git a/clfs/tmpfiles/apcupsd.conf b/clfs/tmpfiles/apcupsd.conf new file mode 100644 index 0000000..601b5ae --- /dev/null +++ b/clfs/tmpfiles/apcupsd.conf @@ -0,0 +1,3 @@ +D /run/apcupsd 0755 root root +r /etc/apcupsd/powerfail +r /etc/nologin diff --git a/clfs/units/apcupsd.service b/clfs/units/apcupsd.service new file mode 100644 index 0000000..9cec6e4 --- /dev/null +++ b/clfs/units/apcupsd.service @@ -0,0 +1,8 @@ +[Unit] +Description=APC UPS Monitor + +[Service] +ExecStart=/sbin/apcupsd -b + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf