1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-28 03:54:36 +00:00
Lakka-LibreELEC/projects/L4T/packages/util-linux/system.d/swap.service
2022-04-23 21:36:57 +02:00

22 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