mirror of
https://github.com/MatMasIt/smtp_app_proxy.git
synced 2025-04-10 08:27:05 +02:00
21 lines
449 B
Desktop File
21 lines
449 B
Desktop File
[Unit]
|
|
Description=SMTP Proxy Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=mattia
|
|
Group=mattia
|
|
WorkingDirectory=/path/to/smtpproxy
|
|
ExecStart=/path/to/smtpproxy/venv/bin/python /path/to/smtpproxy/proxy.py
|
|
Restart=always
|
|
Environment=PATH=/path/to/smtpproxy/venv/bin:/usr/bin:/bin
|
|
Environment=VIRTUAL_ENV=/path/to/smtpproxy/venv
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=smtpproxy
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|