ADD systemd unit templates

This commit is contained in:
Nathan Dwarshuis 2021-02-14 19:40:08 -05:00
parent 7234cb3799
commit 5f3a3f39fb
2 changed files with 14 additions and 0 deletions

View File

@ -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}

View File

@ -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}