summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/hackers_watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/nshd/hackers_git/hackers_watch.go')
-rw-r--r--src/nshd/hackers_git/hackers_watch.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nshd/hackers_git/hackers_watch.go b/src/nshd/hackers_git/hackers_watch.go
index d2c5bce..5bcecbc 100644
--- a/src/nshd/hackers_git/hackers_watch.go
+++ b/src/nshd/hackers_git/hackers_watch.go
@@ -22,12 +22,11 @@
package hackers_git
import (
- "inotify"
- "inotify/inutil"
+ "lukeshu.com/git/go/libgnulinux.git/inotify"
"os"
"path/filepath"
- "sd_daemon/logger"
- "sd_daemon/lsb"
+ "lukeshu.com/git/go/libsystemd.git/sd_daemon/logger"
+ "lukeshu.com/git/go/libsystemd.git/sd_daemon/lsb"
)
const (
@@ -83,7 +82,7 @@ func (o *Hackers) close() {
func (o *Hackers) reload() (err error) {
o.close()
- o.in_fd, err = inutil.WatcherInit() ; if err != nil { return }
+ o.in_fd, err = inotify.WatcherInit() ; if err != nil { return }
o.in_wd_home, err = o.in_fd.AddWatch("/home" , in_DIR|in_CHILD_ADD); if err != nil { return }
o.in_wd_yaml, err = o.in_fd.AddWatch(o.Cfg.Yamldir, in_DIR|in_CHILD_ANY); if err != nil { return }