ThePrez / ServiceCommander-IBMi

Service Commander for IBM i
Apache License 2.0
40 stars 12 forks source link

How do I get NGINX to start in QUSRWRK subsystem? #205

Closed Millsycl closed 1 year ago

Millsycl commented 1 year ago

My yaml config for NGINX:

name: !!binary |- bmdpbnh/f38bW0QbW0QbW0QbW0QbW0QbW0QbW0QbW0QbW0QbW0QbW0MbW0MbW0MbW0MbW0MbW0MbW0MgICAbW0QbW0QbW0Q= dir: /QOpenSys/pkgs/bin start_cmd: /QOpenSys/pkgs/bin/nginx check_alive: '8783' batch_mode: 'false' environment_vars:

I start it on command line using: STRTCPSVR SERVER(*SC) INSTANCE('nginx')

Millsycl commented 1 year ago

Apologies, I spent hours trying this out and as soon as I post a question here I manage to get this working(!)

I changed batch_mode to true and added:

sbmjob_jobname: 'NGINX' sbmjob_opts: "JOBQ(QSYS/QUSRNOMAX) USER(CEM)"