Changeset 427
- Timestamp:
- 06/23/12 14:29:08 (12 years ago)
- Location:
- tools/trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/trunk/MANIFEST
r413 r427 13 13 lib/Sophie/Client.pm 14 14 sophie-tools.spec.in 15 sysinit/sophie-notify -
tools/trunk/bin/sophie-notify
r426 r427 3 3 use strict; 4 4 use warnings; 5 use FindBin; 6 use lib "$FindBin::Bin/../lib"; 5 7 use Linux::Inotify2; 6 8 use POSIX ":sys_wait_h"; … … 10 12 use Pod::Usage; 11 13 use Sys::Syslog; 14 12 15 13 16 $ENV{LC_ALL} = 'C'; … … 56 59 exit(0); 57 60 } 61 warn "Fork done, entering daemon mode\n"; 58 62 } 59 63 … … 63 67 close($handle); 64 68 } else { 69 die "Can't write pidfile $pidfile, exiting :\\\n"; 65 70 } 66 71 } … … 135 140 my $res = $sc->send_request('admin.update.paths'); 136 141 if (ref $res && !$res->is_fault) { 142 # strange error probably due to server bug 143 ref $res->value eq 'ARRAY' or return; 137 144 @paths = grep { -d $_ } map { $_->{path} } @{ $res->value }; 138 145 } else { -
tools/trunk/sophie-tools.spec.in
r405 r427 38 38 %makeinstall_std 39 39 40 mkdir -p %buildroot/etc/init.d 41 install -m755 sysinit/sophie-notify %buildroot/etc/init.d/sophie-notify 42 40 43 %clean 41 44 rm -rf %buildroot … … 44 47 %defattr(-,root,root) 45 48 %doc Changes README 49 /etc/init.d/sophie-notify 46 50 %_bindir/* 47 51 %{_mandir}/*/*
Note: See TracChangeset
for help on using the changeset viewer.