servicer
servicer copied to clipboard
passing extra arguments clarification
I saw this:
# Pass params to index.js by adding them after a `--` followed by space sudo ser create index.js -- --foo bar
and tried this:
sudo ser create index.js -- --foo bar --start --enable --auto-restart
I assume that everything after --
was given to node instead of servicer. I put -- --foo bar
in the end of the command and everything worked.
If I did the right thing, maybe there should be a note to always put this parameter last. It might be obvious to experiences dev but it might saw some time and hair-pulling to others :)