17 lines
469 B
Desktop File
17 lines
469 B
Desktop File
# this file is part of ansible role journal-postfix
|
|
|
|
[Unit]
|
|
Description=Extract postfix message delivery information from systemd journal messages\
|
|
and store them in a PostgreSQL database. Configuration is in /etc/journal-postfix/main.yml
|
|
After=multi-user.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/srv/journal-postfix/run.py
|
|
User=journal-postfix
|
|
WorkingDirectory=/srv/journal-postfix/
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=97
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|