mirror of
https://github.com/balzack/databag.git
synced 2025-02-19 06:29:23 +00:00
18 lines
443 B
SYSTEMD
18 lines
443 B
SYSTEMD
|
[Unit]
|
||
|
Description=push notification repeater for databag network
|
||
|
After=network.target
|
||
|
StartLimitIntervalSec=0
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
Restart=always
|
||
|
RestartSec=1
|
||
|
User=root
|
||
|
ExecStart=/usr/bin/repeater -p 443 -c /etc/letsencrypt/live/repeater.coredb.org/fullchain.pem -k /etc/letsencrypt/live/repeater.coredb.org/privkey.pem
|
||
|
|
||
|
[Service]
|
||
|
Environment="GOOGLE_APPLICATION_CREDENTIALS=/opt/databag/databag.json"
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|