"Reset Driver" of piCtory can now restart your plc program

You can set reset_driver_action in revpipyload.conf to 0, 1, 2
0=do nothing
1=Restart PLC program only if piCtory config was changed
2=Always restart PLC program after pressing "Reset Driver" (default)
(will not work on old wheezy)

close #1
This commit is contained in:
2020-04-30 22:11:23 +02:00
parent 13d42acd67
commit d77fea0b48
6 changed files with 160 additions and 38 deletions

View File

@@ -5,11 +5,13 @@ autostart = 1
plcworkdir = /var/lib/revpipyload
plcworkdir_set_uid = 0
plcprogram = program.py
plcprogram_watchdog = 0
plcarguments =
plcuid = 1000
plcgid = 1000
pythonversion = 3
replace_ios = /etc/revpipyload/replace_ios.conf
reset_driver_action = 2
rtlevel = 0
zeroonerror = 0
zeroonexit = 0