|
root / services / examples / swap.toml
swap.toml TOML 19 lines 297 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# Swap Devices
#
# Adds swap devices listed in /etc/vfstab. Also mounts tmpfs on /tmp
# and /var/run.

[service]
name = "swap"
description = "Swap and tmpfs Configuration"
type = "oneshot"

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

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

[restart]
on = "never"