summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernhard Tittelbach <service-anytun@tittelbach.org>2015-01-16 00:39:12 +0000
committerBernhard Tittelbach <service-anytun@tittelbach.org>2015-01-16 00:39:12 +0000
commit1787feced35c3395b55779678361176a935d8666 (patch)
treeb214865eb0fa775b18667c48644342f847d84f40 /src
parentsystemd support (--with-systemd) (config/install script untested) (diff)
let systemd create /run dirs and a fix
Diffstat (limited to 'src')
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index b04d76b..f460a72 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -313,8 +313,9 @@ install-systemd:
$(INSTALL) -d $(DESTDIR)/lib/systemd/system/
@ sed -e 's#/usr/bin/#$(DESTDIR)$(BINDIR)/#' ../usr/lib/systemd/system/anytun@.service > ../usr/lib/systemd/system/anytun@.service.bak
@ sed -e 's#/usr/bin/#$(DESTDIR)$(BINDIR)/#' ../usr/lib/systemd/system/anytun-control@.service > ../usr/lib/systemd/system/anytun-control@.service.bak
- $(INSTALL) ../usr/lib/systemd/system/anytun@.service.bak $(DESTDIR)/lib/systemd/system/anytun@.service
- $(INSTALL) ../usr/lib/systemd/system/anytun-control@.service.bak $(DESTDIR)/anytun-control@.service
+ $(INSTALL) ../usr/lib/systemd/system/anytun@.service.bak $(DESTDIR)/usr/lib/systemd/system/anytun@.service
+ $(INSTALL) ../usr/lib/systemd/system/anytun-control@.service.bak $(DESTDIR)/usr/anytun-control@.service
+ $(INSTALL) ../etc/tmpfiles.d/anytun.conf $(DESTDIR)$(ETCDIR)/tmpfiles.d/anytun.conf
install-examples:
$(INSTALL) -d $(DESTDIR)$(EXAMPLESDIR)/anytun