ADD systemd unit templates
This commit is contained in:
parent
7234cb3799
commit
5f3a3f39fb
|
@ -0,0 +1,7 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Mount sshfs directory for %i
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/bin/sshfs ${TARGET} ${MOUNTPOINT}
|
||||||
|
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Mount veracrypt volume for %i
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=%h/.bin/mount.veracrypt ${BW_NAME} ${VOLUME} ${MOUNTPOINT}
|
||||||
|
ExecStop=%h/.bin/umount.veracrypt ${MOUNTPOINT}
|
Loading…
Reference in New Issue