mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
adding systemd service entry
This commit is contained in:
parent
3ad8034b73
commit
3141ba09e9
17
net/repeater/repeater.service
Normal file
17
net/repeater/repeater.service
Normal file
@ -0,0 +1,17 @@
|
||||
[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
|
Loading…
Reference in New Issue
Block a user