|
root / services / hammerhead / swap.toml
swap.toml TOML 22 lines 391 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# swap — Enable swap devices from /etc/vfstab

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

[exec]
start = "/sbin/swapadd"
stop = "/etc/zyginit/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"