22 lines
572 B
Desktop File
22 lines
572 B
Desktop File
# One per host, not per site: every portal instance on the host
|
|||
|
|
# publishes to the same WORMHOLE stream, and each message carries its
|
||
|
|
# own sender. Install with deploy/install.sh.
|
||
|
|
[Unit]
|
||
|
|
Description=gdo - delivers portal's outgoing mail to the host's SMTP
|
||
|
|
After=network-online.target nats-server.service postfix.service
|
||
|
|
Wants=network-online.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
ExecStart=/usr/local/bin/gdo
|
||
|
|
EnvironmentFile=-/etc/gdo.env
|
||
|
|
DynamicUser=yes
|
||
|
|
Restart=always
|
||
|
|
RestartSec=5
|
||
|
|
NoNewPrivileges=yes
|
||
|
|
ProtectSystem=strict
|
||
|
|
ProtectHome=yes
|
||
|
|
PrivateTmp=yes
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|