# Opens the wallet (oo7) when a cont8nuum session starts; Plasma keeps
# KWallet, since this only runs under cont8nuum-session.target
[Unit]
Description=Wallet for cont8nuum
PartOf=graphical-session.target
After=graphical-session.target
ConditionPathExists=@oo7_daemon@
# The plain oo7 unit runs it with the wallet locked; ours takes over
Conflicts=oo7-daemon.service
[Service]
ExecStart=@libexecdir@/c8-wallet
Slice=session.slice
# Restart if oo7 dies later, not after a wrong password or a failed start (2)
Restart=on-failure
RestartPreventExitStatus=2
RestartSec=2
TimeoutStopSec=5