summaryrefslogtreecommitdiff
path: root/scripts/userfs.service
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2017-07-16 17:24:34 +0200
committerJavier <dev.git@javispedro.com>2017-07-16 17:24:34 +0200
commit54e7d8476ca3b41cbb38226e58241e1920ad357a (patch)
tree0cb38942404ac0d8b3529f7c93958065edc1a4f8 /scripts/userfs.service
parent48cf22d3af28386ad853c30d3e389570e3cdca6e (diff)
downloadvolumefs-54e7d8476ca3b41cbb38226e58241e1920ad357a.tar.gz
volumefs-54e7d8476ca3b41cbb38226e58241e1920ad357a.zip
rename to volumefs/userfs and add systemd unit files
Diffstat (limited to 'scripts/userfs.service')
-rw-r--r--scripts/userfs.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/userfs.service b/scripts/userfs.service
new file mode 100644
index 0000000..fe675ae
--- /dev/null
+++ b/scripts/userfs.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Populates /Users directory
+RequiresMountsFor=/etc
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/userfs -f -o allow_other -o auto_unmount /Users
+
+[Install]
+WantedBy=multi-user.target