diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-07-04 21:48:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-07-04 21:48:33 +1200 |
commit | 766f2da989b68d07c615772ca9b201c01fe85cd6 (patch) | |
tree | 5114e2e89eac5037e8c6ad682e6887ca58072819 | |
parent | Merge branch 'release/v0.07' (diff) | |
parent | Bump VERSION (diff) | |
download | inotifymask-766f2da989b68d07c615772ca9b201c01fe85cd6.tar.gz inotifymask-766f2da989b68d07c615772ca9b201c01fe85cd6.zip |
Merge branch 'release/v0.08'v0.08
* release/v0.08:
Suggest enabling the service *after* testing it
Remove File::stat from install procedure
Update systemd service sample to reflect recursion
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | bin/inotifymask | 2 | ||||
-rw-r--r-- | inotifymask.service | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ Install You need Perl v5.10.1 or newer. - $ cpanm Const::Fast File::stat Linux::Inotify2 + $ cpanm Const::Fast Linux::Inotify2 $ perl Makefile.PL $ make $ sudo make install @@ -28,9 +28,9 @@ template. $ mkdir -p ~/.config/systemd/user $ cp inotifymask.service ~/.config/systemd/user $ vi ~/.config/systemd/user/inotifymask.service # Change command line to specify your paths - $ systemctl --user enable inotifymask.service $ systemctl --user start inotifymask.service $ systemctl --user status inotifymask.service + $ systemctl --user enable inotifymask.service License ------- diff --git a/bin/inotifymask b/bin/inotifymask index 39b9c03..1822585 100644 --- a/bin/inotifymask +++ b/bin/inotifymask @@ -10,7 +10,7 @@ use File::Find; use File::stat; use Linux::Inotify2; -our $VERSION = '0.07'; +our $VERSION = '0.08'; const our $SELF => 'inotifymask'; diff --git a/inotifymask.service b/inotifymask.service index c15377a..680ee0c 100644 --- a/inotifymask.service +++ b/inotifymask.service @@ -3,7 +3,7 @@ Description=apply umask over created/moved files After=local-fs.target [Service] -ExecStart=/usr/local/bin/inotifymask 0177 ~/private ~/private/also +ExecStart=/usr/local/bin/inotifymask 0177 ~/private ~/also-private [Install] WantedBy=default.target |