Files
Chen Qi 0d01e1b723 smartmontools: add systemd service file
Add systemd service file for smartmontools.
The service is disabled by default.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:42:54 +02:00

13 lines
296 B
Desktop File

[Unit]
Description=Self Monitoring and Reporting Technology (SMART) Daemon
After=syslog.target
[Service]
EnvironmentFile=-@SYSCONFDIR@/smartmontools
ExecStart=@SBINDIR@/smartd -n $smart_opts
ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
StandardOutput=syslog
[Install]
WantedBy=multi-user.target