summarylogtreecommitdiffstats
path: root/wedge.service
blob: 8f837eb845cc3fc39c161a39c711d2ae64b760af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=Wedge HTTP/2 web server
Documentation=https://github.com/WedgeServer/wedge
After=network.target

[Service]
User=http
Group=http
Environment=CADDYPATH=/var/lib/wedge
EnvironmentFile=-/etc/wedge/envfile
ExecStart=/usr/bin/wedge -log stdout -agree -conf /etc/wedge/wedge.conf -root /tmp
ExecReload=/usr/bin/kill -USR1 $MAINPID
LimitNOFILE=1048576
LimitNPROC=64
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWriteDirectories=/var/lib/wedge
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target