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
This commit is contained in:
Jeena 2026-01-04 16:15:04 +09:00
parent 45b179ede3
commit acec14553d
3 changed files with 15 additions and 4 deletions

View file

@ -13,7 +13,7 @@ This script forwards new emails from a source IMAP account (e.g., GMX) to a dest
4. For user services (recommended):
- Copy services: `cp *.service *.timer ~/.config/systemd/user/`
- Copy drop-in: `cp -r email_forwarder.service.d ~/.config/systemd/user/`
- Edit `~/.config/systemd/user/email_forwarder.service.d/override.conf` to set `PROJECT_DIR` to your project path.
- Copy `~/.config/systemd/user/email_forwarder.service.d/override.conf.sample` to `override.conf` and edit to set your PROJECT_DIR and ENV_FILE paths.
5. Reload and enable: `systemctl --user daemon-reload && systemctl --user enable email_forwarder.timer && systemctl --user start email_forwarder.timer`