mirror of
https://github.com/linux-msm/rmtfs.git
synced 2026-06-30 06:25:37 +00:00
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>
13 lines
229 B
Plaintext
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
|