Differences From Artifact [c65ba8547d]:
- File smartd.service — part of check-in [b4e23b21af] at 2019-10-20 12:27:57 on branch trunk — fix test and prevent service start (user: arcade, size: 267) [annotate] [blame] [check-ins using]
To Artifact [914546d20c]:
- File smartd.service — part of check-in [716b0393df] at 2019-10-21 10:37:45 on branch trunk — rework daemonization, export enable variables and add checks for them (user: arcade, size: 328) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | + + - + + |
# vim:ft=make:
DAEMON_smartd_COMMAND?=/usr/local/sbin/smartd
DAEMON_smartd_ENABLE?=no
DAEMON_smartd_FLAGS?=-c /usr/local/etc/smartd.conf -n
smartd: _daemon
.export DAEMON_$@_ENABLE
test -z "$${DAEMON_$@_ENABLE}" || \
test -f /usr/local/etc/smartd.conf || { \
echo smartd requires config file to start. ; \
|