Rombobjörn

summaryrefslogtreecommitdiff
path: root/smart_spindown@.service
blob: 909bf5cc4d0c3d8da42800d92ee6da3d826809fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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