Files
cloudron-box/src/systemd-mount.ejs
2021-06-18 18:03:07 -07:00

17 lines
279 B
Plaintext

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