21 lines
448 B
Desktop File
21 lines
448 B
Desktop File
[Unit]
|
|
Description=Mounting swapfile
|
|
DefaultDependencies=false
|
|
|
|
Before=swap.target shutdown.target
|
|
Conflicts=shutdown.target
|
|
Wants=swap.target
|
|
|
|
ConditionPathExists=/proc/swaps
|
|
ConditionKernelCommandLine=!noswap
|
|
ConditionKernelCommandLine=!installer
|
|
|
|
[Service]
|
|
Environment=HOME=/storage
|
|
Type=oneshot
|
|
ExecStartPre=/usr/lib/libreelec/mount-swap create
|
|
ExecStart=/usr/lib/libreelec/mount-swap mount
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|