mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-28 03:54:36 +00:00
22 lines
448 B
Desktop File
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
|