diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-29 23:30:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-29 23:30:29 +1200 |
commit | 7a316db0f17e9b677a72379ef78e30717e6984e9 (patch) | |
tree | 7573797d8993154306584a74850f9726dbd8a1f2 | |
parent | Merge branch 'hotfix/v0.03' into develop (diff) | |
parent | Bump VERSION (diff) | |
download | inotifymask-7a316db0f17e9b677a72379ef78e30717e6984e9.tar.gz inotifymask-7a316db0f17e9b677a72379ef78e30717e6984e9.zip |
Merge branch 'hotfix/v0.04' into develop
* hotfix/v0.04:
Actually add example systemd service
-rw-r--r-- | bin/inotifymask | 2 | ||||
-rw-r--r-- | inotifymask.service | 9 |
2 files changed, 10 insertions, 1 deletions
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'; 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 |