ProFTPD module mod_systemd



The mod_systemd module is intended to help ProFTPD interact with systemd via socket activations.

This module is contained in the mod_systemd.c file for ProFTPD 1.3.x, and is not compiled by default. Installation instructions are discussed here.

The most current version of mod_systemd is distributed with the ProFTPD source code.

Author

Please contact TJ Saunders <tj at castaglia.org> with any questions, concerns, or suggestions regarding this module.

Directives


SystemdEngine

Syntax: SystemdEngine on|off
Default: on
Context: server config
Module: mod_systemd
Compatibility: 1.3.10rc1 and later

The SystemdEngine directive enables or disables the module's runtime notifications to systemd. If it is set to off this module sends no notifications. Use this directive to disable the module instead of commenting out all mod_systemd directives.


Installation

The mod_systemd module is distributed with ProFTPD. To enable use of systemd notifications, build this module: option:
  $ ./configure --with-modules=mod_systemd
  $ make
  $ make install

Alternatively, if your proftpd was compiled with DSO support, you can use the prxs tool to build mod_systemd as a shared module:

  $ prxs -c -i -d mod_systemd.c



© Copyright 2025 TJ Saunders
All Rights Reserved