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

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

[Install]
WantedBy=multi-user.target