summaryrefslogtreecommitdiff
blob: f03a19aff62ffb8c6648edfa62dc2c955d11a11b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=nginx HTTP daemon
After=networking.target
After=syslog.target

[Service]
Type=forking
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
StandardOutput=syslog
StandardError=syslog
#Restart=always

[Install]
WantedBy=multi-user.target
WantedBy=http-daemon.target