diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-06-11 19:48:57 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-06-11 19:48:57 +0200 |
commit | 17a6ce2ae11994e60f88e934edf2f62ce799089c (patch) | |
tree | 9e4ab92d23b5d0936dcd178fed2408f1468917d2 /CMakeLists.txt | |
parent | fdf0cf9941ced79fb57bc1f7cb334cca7204b37d (diff) | |
download | rspamd-17a6ce2ae11994e60f88e934edf2f62ce799089c.tar.gz rspamd-17a6ce2ae11994e60f88e934edf2f62ce799089c.zip |
[Conf] Do away with systemd specifics completely
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
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") |