|
root / base / usr / src / zyginit / services / swap / service.toml
service.toml TOML 22 lines 422 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 = "/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"