summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-06-04 15:44:25 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-06-28 18:09:06 +0200
commit644e445ba4f7b0c124934e37c190defa2cf348f6 (patch)
tree107aa2e3c24a3f86469035e46a31328cc7e81195 /make/template/main.mk
parentd97fabeb54c67a14a90f48c685b72d38c5229748 (diff)
Add systemd service file.
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 9a8853021..3fd643445 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -235,6 +235,9 @@ install: target
@IFEQ $(SYSTEM) darwin
-$(INSTALL) -m $(INSTMODE_BIN) org.inspircd.plist $(BASE) 2>/dev/null
@ENDIF
+@IFEQ $(SYSTEM) linux
+ -$(INSTALL) -m $(INSTMODE_LIB) inspircd.service $(BASE) 2>/dev/null
+@ENDIF
-$(INSTALL) -m $(INSTMODE_BIN) tools/genssl $(BINPATH)/inspircd-genssl 2>/dev/null
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/examples/aliases