aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-07-04 21:48:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-07-04 21:48:33 +1200
commit766f2da989b68d07c615772ca9b201c01fe85cd6 (patch)
tree5114e2e89eac5037e8c6ad682e6887ca58072819
parentMerge branch 'release/v0.07' (diff)
parentBump VERSION (diff)
downloadinotifymask-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.md4
-rw-r--r--bin/inotifymask2
-rw-r--r--inotifymask.service2
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0387466..53174b9 100644
--- a/README.md
+++ b/README.md
@@ -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