summaryrefslogtreecommitdiffstats
path: root/.ship/service
blob: 9305ef41243cecebf8a83c3587b3fc6573912165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=nostr-grpc
After=network.target

[Service]
Type=simple
User=nostr-grpc
WorkingDirectory=/var/lib/nostr-grpc
EnvironmentFile=/etc/ship/env/nostr-grpc.env
ExecStart=/usr/local/bin/nostr-grpc -db relay.db -grpc-addr localhost:50051 -ws-addr localhost:8006 -public-url nostr-grpc.x.bdw.to
Restart=always
RestartSec=5s
NoNewPrivileges=true
PrivateTmp=true

[Install]
WantedBy=multi-user.target