From 69d241362d4e45e7ce52136122fb116a2a640933 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sun, 18 Mar 2018 08:16:40 +0100 Subject: imported --- smart_spindown@.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 smart_spindown@.service (limited to 'smart_spindown@.service') diff --git a/smart_spindown@.service b/smart_spindown@.service new file mode 100644 index 0000000..909bf5c --- /dev/null +++ b/smart_spindown@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Smart Spindown for %i +Wants=local-fs.target +After=syslog.target + +[Service] +Type=idle +WorkingDirectory=/etc/smart_spindown +StandardOutput=syslog +SyslogIdentifier=smart_spindown/output +SyslogLevel=err +ExecStart=/usr/local/bin/smart_spindown --conf=/etc/smart_spindown/%i.conf +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3