Skip to content

Commit

Permalink
Merge pull request #1 from mariux64/master
Browse files Browse the repository at this point in the history
unter die knute des bee
  • Loading branch information
donald committed Apr 20, 2016
2 parents b712f04 + 7963398 commit 376c2bd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ all:
install: clusterd clusterd.service
install -d ${DESTDIR}${SBINDIR}
install -m 755 clusterd ${DESTDIR}${SBINDIR}/clusterd
install -d ${DESTDIR}/etc/systemd/system/
install -m 644 clusterd.service ${DESTDIR}/etc/systemd/system/clusterd.service

restart: install
restart:
systemctl restart clusterd.service
2 changes: 1 addition & 1 deletion clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ sub udp_rx_restart {
if (defined $pid && $pid==0) {
my $pid2=fork;
if (defined $pid2 && $pid==0) {
exec '/sbin/clusterd','--kill','--daemon';
exec '/usr/sbin/clusterd','--kill','--daemon';
die "exec failed: $!\n";
}
}
Expand Down
8 changes: 8 additions & 0 deletions mkbee.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
VERSION=`grep -Po "(?<=Revision:\s)(\S+)" clusterd`
PACKAGE=clusterd-${VERSION}
DOWNLOADS=/src/mariux/beeroot/downloads
cd ..
tar zcvf ${DOWNLOADS}/${PACKAGE}.tgz clusterd
bee init ${DOWNLOADS}/${PACKAGE}.tgz -f
./${PACKAGE}-0.bee -c

0 comments on commit 376c2bd

Please sign in to comment.