mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
460 B
19 lines
460 B
[Unit]
|
|
Description=Zettabyte File System (ZFS)
|
|
Documentation=man:zfs(8) man:zpool(8)
|
|
DefaultDependencies=no
|
|
After=cryptsetup.target
|
|
Before=local-fs.target
|
|
Conflicts=shutdown.target umount.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/sbin/modprobe zfs
|
|
ExecStart=/usr/bin/zpool import -c /etc/zfs/zpool.cache -aN
|
|
ExecStart=/usr/bin/zfs mount -a
|
|
ExecStart=/usr/bin/zfs share -a
|
|
ExecStop=/usr/bin/zfs umount -a
|
|
|
|
[Install]
|
|
WantedBy=local-fs.target
|
|
|