summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-06-11 19:48:57 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-06-11 19:48:57 +0200
commit17a6ce2ae11994e60f88e934edf2f62ce799089c (patch)
tree9e4ab92d23b5d0936dcd178fed2408f1468917d2 /CMakeLists.txt
parentfdf0cf9941ced79fb57bc1f7cb334cca7204b37d (diff)
downloadrspamd-17a6ce2ae11994e60f88e934edf2f62ce799089c.tar.gz
rspamd-17a6ce2ae11994e60f88e934edf2f62ce799089c.zip
[Conf] Do away with systemd specifics completely
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 1 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d851fd38..26f16a8a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1294,21 +1294,12 @@ FOREACH(CONF_FILE ${CONF_FILES})
DESTINATION ${CONFDIR}/${_rp})
ENDFOREACH(CONF_FILE)
-# Main config is special due to systemd
-IF(WANT_SYSTEMD_UNITS MATCHES "ON")
- SET(MAIN_CONF "conf/rspamd.systemd.conf")
-ELSE(WANT_SYSTEMD_UNITS MATCHES "ON")
- SET(MAIN_CONF "conf/rspamd.sysvinit.conf")
-ENDIF(WANT_SYSTEMD_UNITS MATCHES "ON")
+SET(MAIN_CONF "conf/rspamd.conf")
IF(BUILD_PORT)
INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" ".sample")
ELSE(BUILD_PORT)
INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" "")
ENDIF(BUILD_PORT)
-# Debian is also special
-IF(DEBIAN_BUILD)
- INSTALL_IF_NOT_EXISTS("conf/rspamd.sysvinit.conf" ${CONFDIR} "rspamd.sysvinit.conf" "")
-ENDIF(DEBIAN_BUILD)
IF(INSTALL_EXAMPLES MATCHES "ON")
INSTALL(FILES ${MAIN_CONF} DESTINATION ${EXAMPLESDIR})
ENDIF(INSTALL_EXAMPLES MATCHES "ON")