@@ -9,7 +9,9 @@ ExecStartPre=/usr/sbin/nginx -t | |||
ExecStart=/usr/sbin/nginx | |||
ExecReload=/bin/kill -s HUP $MAINPID | |||
ExecStop=/bin/kill -s QUIT $MAINPID | |||
Restart=on-failure | |||
RestartSec=10s | |||
PrivateTmp=true | |||
[Install] | |||
WantedBy=multi-user.target | |||
WantedBy=multi-user.target |