# swap — Enable swap devices from /etc/vfstab

[service]
name = "swap"
description = "Enable swap devices"
type = "oneshot"

[exec]
start = "/etc/zyginit/services/swap/start.sh"
stop = "/etc/zyginit/services/swap/stop.sh"

[runlevel]
# Useful in single-user mode for tmpfs backing and emergency repair tools
# that may want to spill memory.
mode = "always"

[dependencies]
requires = ["root-fs"]

[restart]
on = "never"
