Files
cloudron-box/src/systemd-mount.ejs
Girish Ramakrishnan 9dfe6242b9 mounts: rename name to description
this makes it clear that the field is not important
2025-08-01 15:48:11 +02:00

21 lines
406 B
Plaintext

[Unit]
Description=<%= description %>
<% if ( type === 'cifs' || type === 'nfs' || type === 'fuse.sshfs' ) { %>
Requires=<%= dependsOn %>
After=<%= dependsOn %>
Before=docker.service
<% } else if ( type === 'loopback' ) { %>
Requires=<%= dependsOn %>
After=<%= dependsOn %>
<% } %>
[Mount]
What=<%= what %>
Where=<%= where %>
Options=<%= options %>
Type=<%= type %>
[Install]
WantedBy=multi-user.target