Ticket #316: smartd.service.in.patch

File smartd.service.in.patch, 503 bytes (added by cadhalpun, 11 years ago)

patch to improve systemd service file

  • smartd.service.in

    old new  
    11[Unit]
    22Description=Self Monitoring and Reporting Technology (SMART) Daemon
     3Documentation=man:smartd(8) man:smartd.conf(5)
    34After=syslog.target
    45
    56[Service]
    6 EnvironmentFile=-/usr/local/etc/sysconfig/smartmontools
    7 ExecStart=/usr/local/sbin/smartd -n $smartd_opts
     7ExecStart=/usr/local/sbin/smartd -n
    88ExecReload=/bin/kill -HUP $MAINPID
    99StandardOutput=syslog
    1010