mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
0d01e1b723
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>
13 lines
296 B
Desktop File
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
|