Implement email_tunnel service and installation scripts for Proton Bridge integration
This commit is contained in:
parent
c10b9e634d
commit
28a1fbe59a
5 changed files with 496 additions and 2 deletions
17
email_tunnel.service
Normal file
17
email_tunnel.service
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Email Tunnel (Proton Bridge to SMTP)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=email-tunnel
|
||||
Group=email-tunnel
|
||||
WorkingDirectory=/opt/email-tunnel
|
||||
ExecStart=/usr/bin/python3 email_tunnel.py
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
EnvironmentFile=/opt/email-tunnel/.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue