You are here: Foswiki>Tasks Web>Item14346 (01 Jun 2017, GeorgeClark)Edit Attach

Item14346: Systemd service file has issues, needs better documentation.

pencil
Priority: Urgent
Current State: Closed
Released In: 2.1.4
Target Release: patch
Applies To: Extension
Component: FastCGIEngineContrib
Branches: Release02x01 master Item14288
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
As pointed out by github messages by Maxime Besson, the foswiki-fastcgi.service file should not run as root.

Also the documentation on how to customize the service file needs some work. It turns out that there are a number of issues.

  • User / Group must be specified, and cannot be done using environment variable substitution,.
  • The PIDFile location must exist, and be writable by the specified User/Group. The default /var/run/... location is not.
  • The PIDFile location must be an absolute path. Variable substitution not supported.
  • The WorkingDirectory also must be an absolute path without variable substitution.

There should be some docs on this in the InstallationGuide and FastCGIEngineContrib

-- GeorgeClark - 21 Mar 2017

 
Topic revision: r8 - 01 Jun 2017, GeorgeClark - This page was cached on 01 Jun 2017 - 19:47.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License