2021-05-12 18:00:43 -07:00
|
|
|
[Unit]
|
2025-08-01 15:48:09 +02:00
|
|
|
Description=<%= description %>
|
2022-03-30 21:39:15 -07:00
|
|
|
<% if ( type === 'cifs' || type === 'nfs' || type === 'fuse.sshfs' ) { %>
|
2025-01-12 18:02:06 +01:00
|
|
|
Requires=<%= dependsOn %>
|
|
|
|
|
After=<%= dependsOn %>
|
2022-01-26 16:33:35 +01:00
|
|
|
Before=docker.service
|
2025-01-12 18:02:06 +01:00
|
|
|
<% } else if ( type === 'loopback' ) { %>
|
|
|
|
|
Requires=<%= dependsOn %>
|
|
|
|
|
After=<%= dependsOn %>
|
2021-05-14 12:07:05 -07:00
|
|
|
<% } %>
|
2021-05-12 18:00:43 -07:00
|
|
|
|
|
|
|
|
[Mount]
|
|
|
|
|
What=<%= what %>
|
|
|
|
|
Where=<%= where %>
|
|
|
|
|
Options=<%= options %>
|
|
|
|
|
Type=<%= type %>
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|