Files
rmtfs/rmtfs.service.in
T
Loïc Minier a125c5126f rmtfs.service: Only start if dev node present
Allow having the rmtfs service present but not started on devices
which don't have a /dev/qcom_rmtfs_mem1 by starting only if this
node is present. This allows creating generic images, without
reporting an error because the service can't start when the device
node is lacking.

Fixes: #34

Reported-by: Agathe Porte <agathe.porte@oss.qualcomm.com>
Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
2026-05-20 15:23:34 +02:00

13 lines
229 B
Plaintext

[Unit]
Description=Qualcomm remotefs service
Before=NetworkManager.service
ConditionPathExists=/dev/qcom_rmtfs_mem1
[Service]
ExecStart=RMTFS_PATH/rmtfs -r -P -s
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target