From 11b4a2e9efd550928aced9497f5736009dc04150 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 Apr 2020 23:29:47 +1200 Subject: Actually add example systemd service --- inotifymask.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 inotifymask.service 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 -- cgit v1.2.3 From 276180c1f6a7ab9a25c6457c5a01b71dea92d18a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 29 Apr 2020 23:30:14 +1200 Subject: Bump VERSION --- bin/inotifymask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/inotifymask b/bin/inotifymask index 74e1a26..19e1b0a 100644 --- a/bin/inotifymask +++ b/bin/inotifymask @@ -9,7 +9,7 @@ use Const::Fast; use File::stat; use Linux::Inotify2; -our $VERSION = '0.03'; +our $VERSION = '0.04'; const our $SELF => 'inotifymask'; -- cgit v1.2.3