blob: debeeb51fc9a407bc0cd6a10c75b2cddd78b7d5d (
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
|
[Unit]
Description=CNP-HTTP and CNM-HTML translating reverse proxy
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/cn-http -listen localhost:9000 -cnp-host contnet.org
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
InaccessibleDirectories=/home
ReadOnlyDirectories=/
CapabilityBoundingSet=
LimitFSIZE=0
DeviceAllow=/dev/null rw
MemoryDenyWriteExecute=yes
User=nobody
Group=nogroup
WorkingDirectory=/var/contnet/cn-http
Restart=always
RestartSec=10s
[Install]
WantedBy=multi-user.target
|