mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
fc5b483f76
systemd service file expects full path of the executatbles. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 lines
298 B
Desktop File
13 lines
298 B
Desktop File
[Unit]
|
|
Description=Nginx Server
|
|
After=network.target
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=@SYSCONFDIR@/nginx/run/nginx.pid
|
|
ExecStartPre=@BASEBINDIR@/mkdir -p @LOCALSTATEDIR@/log/nginx
|
|
ExecStart=@SYSCONFDIR@/init.d/nginx start
|
|
ExecStop=@SYSCONFDIR@/init.d/nginx stop
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|