diff options
Diffstat (limited to '.ship/service')
| -rw-r--r-- | .ship/service | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.ship/service b/.ship/service index 9305ef4..a8e30de 100644 --- a/.ship/service +++ b/.ship/service | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | [Unit] | 1 | [Unit] |
| 2 | Description=nostr-grpc | 2 | Description=muxstr |
| 3 | After=network.target | 3 | After=network.target |
| 4 | 4 | ||
| 5 | [Service] | 5 | [Service] |
| 6 | Type=simple | 6 | Type=simple |
| 7 | User=nostr-grpc | 7 | User=muxstr |
| 8 | WorkingDirectory=/var/lib/nostr-grpc | 8 | WorkingDirectory=/var/lib/muxstr |
| 9 | EnvironmentFile=/etc/ship/env/nostr-grpc.env | 9 | EnvironmentFile=/etc/ship/env/muxstr.env |
| 10 | ExecStart=/usr/local/bin/nostr-grpc -db relay.db -grpc-addr localhost:50051 -ws-addr localhost:8006 -public-url nostr-grpc.x.bdw.to | 10 | ExecStart=/usr/local/bin/muxstr -db relay.db -grpc-addr localhost:50051 -ws-addr localhost:8007 -public-url muxstr.x.bdw.to |
| 11 | Restart=always | 11 | Restart=always |
| 12 | RestartSec=5s | 12 | RestartSec=5s |
| 13 | NoNewPrivileges=true | 13 | NoNewPrivileges=true |
