diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-11-07 23:29:42 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-11-07 23:29:42 -0500 |
commit | 25cc9644b2d8dae449e5a75559a202acb21b49bd (patch) | |
tree | d05c309afc31d884b8e0e55fed691ca65d54b8d9 /src/nshd/hackers_git/hackers_watch.go | |
parent | aa17f05b81357cb3c63bee30b361c682ab12205e (diff) |
use the separate packages from lukeshu.com, clean up the Makefile
Diffstat (limited to 'src/nshd/hackers_git/hackers_watch.go')
-rw-r--r-- | src/nshd/hackers_git/hackers_watch.go | 9 |
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 } |