Make remote scripts available after Tigase startup
It's possible to add a remote script with TCLMT
bin/tclmt.sh -u email@example.com -p adminpass add-script muc room-remove "Room Remove" groovy "scripts/RoomRemove.groovy"
and then call it
Run remote script:
bin/tclmt.sh -u firstname.lastname@example.org -p adminpass remote muc room-remove "email@example.com"
Is it possible to make this script available after Tigase startup?
I don't want to add it each time
Added by Wojciech Kapcia about 4 years ago
Hm, this script simply executes "Add new command" on the server, which has option to save scripts to disk (thus making it available after restart) and it's enabled by default (v. im src/main/groovy/tigase/AddScript.groovy). Please make sure there is no problem with saving scripts to disk on the server (i.e permissions, etc).