Skip to content

Commit

Permalink
clusterd: unter die knute des bee
Browse files Browse the repository at this point in the history
  • Loading branch information
wurzel committed Apr 19, 2016
1 parent 1fb094e commit 7bd4ede
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clusterd/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
8 changes: 8 additions & 0 deletions clusterd/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 7bd4ede

Please sign in to comment.