smartmontools/smartd_generate_opts.service

22 lines
485 B
Desktop File

[Unit]
Description=Update smartd options
Wants=local-fs.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=oneshot
ExecStart=/usr/lib/smartmontools/generate_smartd_opts
[Install]
WantedBy=default.target