Files
mirror_zfs/etc/systemd/system/zfs-import-cache.service.in
T

22 lines
575 B
Plaintext
Raw Normal View History

2014-01-19 15:36:49 +01:00
[Unit]
Description=Import ZFS pools by cache file
2017-09-05 22:50:35 +02:00
Documentation=man:zpool(8)
2014-01-19 15:36:49 +01:00
DefaultDependencies=no
Requires=systemd-udev-settle.service
After=systemd-udev-settle.service
2014-07-26 18:45:15 +02:00
After=cryptsetup.target
2022-11-18 14:36:19 -05:00
After=multipathd.service
2016-05-25 10:48:12 -07:00
After=systemd-remount-fs.service
2017-10-30 16:18:26 -04:00
Before=zfs-import.target
ConditionFileNotEmpty=@sysconfdir@/zfs/zpool.cache
ConditionPathIsDirectory=/sys/module/zfs
2014-01-19 15:36:49 +01:00
[Service]
Type=oneshot
RemainAfterExit=yes
2022-02-22 20:59:11 +00:00
EnvironmentFile=-@initconfdir@/zfs
ExecStart=@sbindir@/zpool import -c @sysconfdir@/zfs/zpool.cache -aN $ZPOOL_IMPORT_OPTS
2016-05-25 10:48:12 -07:00
[Install]
2017-10-30 16:18:26 -04:00
WantedBy=zfs-import.target