File: argonaut-fuse.service

package info (click to toggle)
argonaut 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 828 kB
  • sloc: perl: 6,601; sh: 368; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Start argonaut-fuse
Documentation=man:argonaut-fuse(1)
ConditionPathExists=/usr/sbin/argonaut-fuse

[Service]
Type=forking
User=root
ExecStart=/usr/sbin/argonaut-fuse
ExecStop=/bin/sh -c "/bin/fusermount -u $(cat /var/log/argonaut/argonaut-fuse.log | grep Mounting | tail -n 1 | cut -d ' ' -f7)"
PIDFile=/var/run/argonaut/argonaut-fuse.pid

[Install]
WantedBy=multi-user.target