summarylogtreecommitdiffstats
path: root/service
blob: 559cb6e97e93f1b1f888cc7445fa638552d9799f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=A web server based on Nginx and has many advanced features
After=network.target network-online.target nss-lookup.target

[Service]
Type=forking
PIDFile=/run/tengine.pid
PrivateDevices=yes
SyslogLevel=err

ExecStart=/usr/bin/tengine -g 'pid /run/tengine.pid;'
ExecReload=/usr/bin/tengine -s reload
KillSignal=SIGQUIT
KillMode=mixed

[Install]
WantedBy=multi-user.target