aboutsummarylogtreecommitdiffstats
path: root/gopass-fuse.service
blob: 446b30e90a646c533d3d5ae913d29fbce91d4f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Gopass-Fuse
PartOf=smartcard.target
After=smartcard.target

[Service]
Type=simple
RuntimeDirectory=gopass
ExecStartPre=-/usr/bin/timeout 30 /usr/bin/gopass sync
ExecStart=/usr/bin/gopass-fuse --mount $RUNTIME_DIRECTORY --foreground
ExecReload=-/bin/gopass sync
ExecReload=/bin/kill --signal USR1 $MAINPID
RestartSec=0
Restart=always

[Install]
WantedBy=smartcard.target