summaryrefslogtreecommitdiff
path: root/packaging/opt-var-kdb-db-libsqlfs.service
blob: f2b8d9205ac6584e038a85d2c0286f0b5a1f4f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

[Unit]
Description=SQLfs mount for vconf
# skip mounting if the directory does not exist or is a symlink
ConditionPathIsDirectory=/opt/var/kdb/db
ConditionPathIsSymbolicLink=!/opt/var/kdb/db
DefaultDependencies=no
After=local-fs.target
Before=basic.target

[Service]
Type=oneshot
RemainAfterExit=yes
# bpeters - Busybox mount does not support mounting sqlfs, using libsqlfs_mount instead
ExecStart=/usr/bin/libsqlfs_mount -s -o nonempty -o default_permissions -o allow_other -o use_ino -o noforget /opt/var/kdb/db

[Install]
WantedBy=basic.target