Skip to content

Commit

Permalink
adding systemd service entry
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandosborne committed Sep 16, 2024
1 parent 3ad8034 commit 3141ba0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions net/repeater/repeater.service
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3141ba0

Please sign in to comment.