email-forwarder/email_forwarder.service.d/override.conf.sample
Jeena acec14553d Add sample drop-in config
Provide override.conf.sample as a template for customizing systemd
environment paths.

Changes:
- Rename override.conf to override.conf.sample with placeholders and comments
- Update README to instruct copying the sample
2026-01-04 16:15:04 +09:00

14 lines
No EOL
614 B
Text

# Sample systemd drop-in configuration for email_forwarder.service
# Copy this file to override.conf and customize the paths for your environment.
# For Linux: Set PROJECT_DIR to your project path, ENV_FILE to ./relative/path
# For NixOS: Set PROJECT_DIR to /var/lib/email_forwarder, ENV_FILE to /etc/email_forwarder/.env
[Service]
# Path to the email forwarder project directory
Environment=PROJECT_DIR=/path/to/your/email_forwarder
# Path to the .env file (default: ./.env relative to PROJECT_DIR)
Environment=ENV_FILE=./.env
# Load environment variables from the .env file
EnvironmentFile=${PROJECT_DIR}/.env