1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/trunk/smartmontools/smartd.service.in @ 3330

Revision 3330, 248 bytes (checked in by chrfranke, 3 years ago)

Add 'smartd.service' file for systemd.
Add configure option '--with-systemdsystemunitdir'.
Disable initd script if systemd is used.

  • Property svn:eol-style set to native
Line 
1[Unit]
2Description=Self Monitoring and Reporting Technology (SMART) Daemon
3After=syslog.target
4
5[Service]
6EnvironmentFile=/usr/local/etc/sysconfig/smartmontools
7ExecStart=/usr/local/sbin/smartd -n $smartd_opts
8
9[Install]
10WantedBy=multi-user.target
Note: See TracBrowser for help on using the browser.