16 lines
284 B
Desktop File
16 lines
284 B
Desktop File
[Unit]
|
|
Description=nginx
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=root
|
|
ExecStart=/opt/nginx/1.26.0/sbin/nginx
|
|
ExecReload=/opt/nginx/1.26.0/sbin/nginx -s reload
|
|
ExecStop=/opt/nginx/1.26.0/sbin/nginx -s stop
|
|
PrivateTmp=true
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|