Add ConditionPathExists to pkg-db-recovery
[platform/core/appfw/pkgmgr-info.git] / tool / pkg-db-recovery.service
1 [Unit]
2 Description=Package DB Recovery Service
3 DefaultDependencies=no
4 Before=ac.service
5 Requires=local-fs.target
6 After=systemd-tmpfiles-setup.service local-fs.target
7 ConditionPathExists=!/csa/system_rw_update_run
8
9 [Service]
10 Type=oneshot
11 RemainAfterExit=yes
12 SmackProcessLabel=System::Privileged
13 Capabilities=cap_chown,cap_dac_override,cap_fowner,cap_mac_override=i
14 SecureBits=keep-caps
15 ExecStart=/usr/bin/pkg-db-recovery
16
17 [Install]
18 WantedBy=basic.target