summarylogtreecommitdiffstats
path: root/concrnt-gateway.service
blob: afa32e50cf8350712498f322712019bcc968d7c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[Unit]
Description=Concrnt gateway daemon

Wants=concrnt-api.service postgresql.service redis.service memcached.service
After=postgresql.service redis.service memcached.service
Before=concrnt-api.service

[Service]
Type=simple
Restart=on-failure

User=concrnt
Group=concrnt

SyslogIdentifier=concrnt-gateway

# Port config
Environment="CC_GATEWAY_PORT=28280"

# Proxy config (http, https or socks5)
#Environment="http_proxy=http://proxy-server:3128"
#Environment="https_proxy=http://proxy-server:3128"

ExecStart=/usr/bin/ccgateway

RestrictSUIDSGID=true
RestrictNamespaces=true

[Install]
WantedBy=multi-user.target