HomeFreeBSD

Use ExecStartPre to load zfs modules

Description

Use ExecStartPre to load zfs modules

Commit 87abfcb broke the systemd import service by treating the
ExecStart line as if it were a shell command that could be executed.
This isn't the way systemd works and the correct way to handle this
case is with ExecStartPre. This patch updates the zfs import service
files accordingly,

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Chris Siebenmann <cks.git01@cs.toronto.edu>
Closes #3440

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 26 2015, 9:06 PM
Parents
rG65037d9b25c2: Add libzfs_error_init() function
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG544f7184f854: Use ExecStartPre to load zfs modules (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 26 2015, 11:18 PM