From 75319dc393c3f1a46b74de1efc42b386a46653fc Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Thu, 2 Sep 2021 21:14:24 +0200 Subject: Document switch to start security-tracker service with a user systemd unit Signed-off-by: Salvatore Bonaccorso --- doc/soriano.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/soriano.txt b/doc/soriano.txt index 02fae77784..c278198be5 100644 --- a/doc/soriano.txt +++ b/doc/soriano.txt @@ -58,13 +58,18 @@ Web server /srv/security-tracker.debian.org/etc/apache.conf mod_proxy is used to forward requests to the actual server which -listens on 127.0.0.1:25648 and is started by the -/srv/security-tracker.debian.org/website/bin/start-daemon script -(using a @reboot action in sectracker's crontab). +listens on 127.0.0.1:25648 and is started by a user systemd unit +/srv/security-tracker.debian.org/website/systemd/tracker_service.service -To restart the security tracker service, kill the tracker_service.py -Python process and invoke the start-daemon process as the sectracker -user. +The user systemd unit needs to be activated and started once at initial +setup of the host (including requesting DSA to activate lingering for +the sectracker user): + +As the sectracker running user: + +systemctl --user enable /srv/security-tracker.debian.org/website/systemd/tracker_service.service + +To restart the security tracker service, restart the user systemd unit. Logging ------- -- cgit v1.2.3