Skip to content

Commit f48cd6b

Browse files
committed
Add autostart parameter to linux supervisor processes config.
1 parent 7241921 commit f48cd6b

16 files changed

+16
-0
lines changed

platform-rhel9/calculations.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:calculations]
22
; args: instance# loglevel cycle_time
33
command=/home/jsonscada/json-scada/bin/calculations 1 1 2
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/bin/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/cs_custom_processor.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:cs_custom_processor]
22
; args: instance# loglevel
33
command=/usr/bin/node /home/jsonscada/json-scada/src/cs_custom_processor/cs_custom_processor.js 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/src/cs_custom_processor/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/cs_data_processor.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:cs_data_processor]
22
; args: instance# loglevel
33
command=/usr/bin/node /home/jsonscada/json-scada/src/cs_data_processor/cs_data_processor.js 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/src/cs_data_processor/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/iec104client.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:iec104client]
22
; args: instance# loglevel
33
command=/home/jsonscada/json-scada/bin/iec104client 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/bin/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/iec104server.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:iec104server]
22
; args: instance# loglevel
33
command=/home/jsonscada/json-scada/bin/iec104server 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/bin/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/metabase.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[program:metabase]
22
command=java -jar metabase.jar
3+
autostart=true
34
environment=MB_JETTY_PORT=3001,MB_SITE_URL=http://127.0.0.1/,MB_DB_TYPE=postgres,MB_DB_DBNAME=metabaseappdb,MB_DB_PORT=5432,MB_DB_USER=postgres,MB_DB_PASS="",MB_DB_HOST=localhost,MB_CHECK_FOR_UPDATES=false
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/metabase/ ; directory to cwd to before exec (def no cwd)

platform-rhel9/mongofw.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[program:mongofw]
22
command=/usr/bin/node /home/jsonscada/json-scada/src/mongofw/index.js
3+
autostart=false
34
numprocs=1 ; number of processes copies to start (def 1)
45
directory=/home/jsonscada/json-scada/src/mongofw/ ; directory to cwd to before exec (def no cwd)
56
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/mongowr.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[program:mongowr]
22
command=/usr/bin/node /home/jsonscada/json-scada/src/mongowr/index.js
3+
autostart=false
34
numprocs=1 ; number of processes copies to start (def 1)
45
directory=/home/jsonscada/json-scada/src/mongowr/ ; directory to cwd to before exec (def no cwd)
56
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/mqtt-sparkplug.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:mqtt-sparkplug]
22
; args: instance# loglevel
33
command=/usr/bin/node /home/jsonscada/json-scada/src/mqtt-sparkplug/index.js 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/src/mqtt-sparkplug/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/opcua_client.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:opcua_client]
22
; args: instance# loglevel
33
command=/home/jsonscada/json-scada/bin/OPC-UA-Client 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/bin/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/opcua_server.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:opcua_server]
22
; args: instance# loglevel
33
command=/usr/bin/node /home/jsonscada/json-scada/src/OPC-UA-Server/index.js 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/src/OPC-UA-Server/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/plc4xclient.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:plc4xclient]
22
; args: instance# loglevel
33
command=/home/jsonscada/json-scada/bin/plc4x-client 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/bin/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/process_pg_hist.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[program:process_pg_hist]
22
command=/home/jsonscada/json-scada/sql/process_pg_hist.sh
3+
autostart=true
34
numprocs=1 ; number of processes copies to start (def 1)
45
directory=/home/jsonscada/json-scada/sql/ ; directory to cwd to before exec (def no cwd)
56
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/process_pg_rtdata.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[program:process_pg_rtdata]
22
command=/home/jsonscada/json-scada/sql/process_pg_rtdata.sh
3+
autostart=true
34
numprocs=1 ; number of processes copies to start (def 1)
45
directory=/home/jsonscada/json-scada/sql/ ; directory to cwd to before exec (def no cwd)
56
user=jsonscada ; setuid to this UNIX account to run the program

platform-rhel9/server_realtime_auth.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[program:server_realtime_auth]
22
command=/usr/bin/node /home/jsonscada/json-scada/src/server_realtime_auth/index.js
3+
autostart=true
34
;environment=PGHOSTADDR=127.0.0.1,PGPORT=27017,PGDATABASE=json_scada,PGUSER=json_scada,PGPASSWORD=json_scada
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/src/server_realtime_auth/ ; directory to cwd to before exec (def no cwd)

platform-rhel9/telegraf_listener.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[program:telegraf-listener]
22
; args: instance# loglevel
33
command=/usr/bin/node /home/jsonscada/json-scada/src/telegraf-listener/index.js 1 1
4+
autostart=true
45
numprocs=1 ; number of processes copies to start (def 1)
56
directory=/home/jsonscada/json-scada/src/telegraf-listener/ ; directory to cwd to before exec (def no cwd)
67
user=jsonscada ; setuid to this UNIX account to run the program

0 commit comments

Comments
 (0)