summaryrefslogtreecommitdiff
path: root/scripts/volumefs.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/volumefs.service')
-rw-r--r--scripts/volumefs.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/volumefs.service b/scripts/volumefs.service
new file mode 100644
index 0000000..dd8a194
--- /dev/null
+++ b/scripts/volumefs.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Populates /Volumes directory
+Requires=udisks2.service
+After=udisks2.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/volumefs -f -o allow_other -o auto_unmount /Volumes
+
+[Install]
+WantedBy=multi-user.target