Skip to content
This repository was archived by the owner on Mar 15, 2021. It is now read-only.
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

custom-commands / image-updates / postupdatecommand not fireing #57

Open

Description

@begner

Hi

We've got Dynmap v2.2-1118 running here, and tried to get the postupdatecommand script working.

Our testscript:

!/bin/bash

echo "postupdatecommand: $@" >> ./test.log
exit 0

but it will never be called

Is that a known issue?

Activity

  1. begner commented on Dec 2, 2015

    @begner
    Author

    Ahh... the problem seams to be the pre/post render use ProcessBuilder, which cant be called with

    (if setting is = '/bin/bash /home/..../scriptname.sh')
    ProcessBuilder('/bin/bash /home/..../scriptname.sh', fname.getAbsolutePath()).start().waitFor();
    it shoule be
    ProcessBuilder('/bin/bash', '/home/..../scriptname.sh', fname.getAbsolutePath()).start().waitFor();

    so - maybe someone can integrate optional parameters in the settings which will be passed to the procces. this will make pre/post script development much easier.

    meanwhile i will use shc (shellScriptCompiler)

  2. begner commented on Dec 2, 2015

    @begner
    Author

    Hmm... even with a single binary, the process does not start at all...

    So - again :)
    Is this a known issue?

    custom-commands / image-updates does not start at all?

    i do not get an exception or some errors, etc

  3. reopened this on Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions