shell-host/session/systemd/mount@.service

11 lines
163 B
INI

[Unit]
Requires=home.mount
After=home.mount
[Service]
ExecStart=/bin/mount %h/%I
ExecStop=/bin/umount %h/%I
RemainAfterExit=yes
[Install]
WantedBy=default.target