mirror of
https://github.com/MatMasIt/smtp_app_proxy.git
synced 2025-06-26 02:24:07 +02:00
First commit
This commit is contained in:
19
smtpproxy.service
Normal file
19
smtpproxy.service
Normal file
@ -0,0 +1,19 @@
|
||||
[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
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user