summarylogtreecommitdiffstats
path: root/concrnt-activitypub.service
blob: 3768f39c8acae25438c498dd39d128082394aa6b (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
[Unit]
Description=Concrnt ActivityPub bridge daemon

Wants=concrnt-gateway.service postgresql.service redis.service memcached.service
After=concrnt-gateway.service postgresql.service redis.service memcached.service

[Service]
Type=simple
Restart=on-failure

User=concrnt
Group=concrnt

SyslogIdentifier=concrnt-activitypub

# Port config
Environment="CC_AP_PORT=28284"

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

ExecStart=/usr/bin/ccactivitypub

RestrictSUIDSGID=true
RestrictNamespaces=true

[Install]
WantedBy=multi-user.target