Home Download News FAQ / Knowledge Base Screenshots Documentation Support Site map
philosophical imaginary

This is an old revision of the document!


Table of Contents

Citadel and systemd

The more recent RPM distributions use systemd as init system. In these distributions there's no support for sysvinit scripts.

To configure citadel (daemon arguments, log facility, debug area, home dir) edit /etc/sysconfig/citadel.

To change aide user or aide password run citadel-setup.

To configure webcit (listen ip, http and https ports, guest landing page, …) edit /etc/sysconfig/webcit.

systemd configuration

All systemd service configuration files are located under /lib/systemd/system/. That's also true for Citadel's service script (/lib/systemd/system/citadel.service) and webcit's service scripts (/lib/systemd/system/webcit.service and /lib/systemd/system/webcits.service). If you like to change the configuration of these files/services, then you will copy them to /etc/systemd/system/ and make the changes there. This will overrule the default configuration. For example:

% cp /lib/systemd/system/webcit.service /etc/systemd/system/webcit.service

% vi /etc/systemd/system/webcit.service

( change the file according to your needs and save )

% systemctl restart webcit.service

The RPMs ship the following service/configuration files:

Second instance

If you like to create a second citadel instance, please do the following (untested):

% cp /lib/systemd/system/citadel.service /etc/systemd/system/citadel2.service

% cp /etc/sysconfig/citadel /etc/sysconfig/citadel2

% sed -i 's/CITADEL_HOME_DIR=""/CITADEL_HOME_DIR="-hdata2"/' /etc/sysconfig/citadel2
% sed -i 's,EnvironmentFile=/etc/sysconfig/citadel,EnvironmentFile=/etc/sysconfig/citadel2,' /etc/systemd/system/citadel2.service
% citadel-setup -hdata2
( hint: set a different server port than 504 )
% systemctl start citadel2.service

Additional ressources

systemd for Administrators:

Man-pages:

Developers:

Copyright © 1987-2014 Uncensored Communications Group. All rights reserved.     Login (site admin)