aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-04-29 23:29:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-04-29 23:29:47 +1200
commit11b4a2e9efd550928aced9497f5736009dc04150 (patch)
treeae6d97eaf89fba5f83613ffe316b7924a0e56c67
parentMerge branch 'hotfix/v0.03' (diff)
downloadinotifymask-11b4a2e9efd550928aced9497f5736009dc04150.tar.gz
inotifymask-11b4a2e9efd550928aced9497f5736009dc04150.zip
Actually add example systemd service
-rw-r--r--inotifymask.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/inotifymask.service b/inotifymask.service
new file mode 100644
index 0000000..c15377a
--- /dev/null
+++ b/inotifymask.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=apply umask over created/moved files
+After=local-fs.target
+
+[Service]
+ExecStart=/usr/local/bin/inotifymask 0177 ~/private ~/private/also
+
+[Install]
+WantedBy=default.target