On 6 Jul 2018, at 21:56, Tamás Gérczei wrote:
Sorry Paul and thanks Nicholas,
Yes - the service manifests indeed belong under /opt/custom/smf/ so
that
they are imported automatically by SmartOS and I have have the method
script saved as /opt/custom/bin/svc-guesthandler - the latter is
configurable via the service, but if it suits You, just stick with the
default.
As for the example tagging command, that's entirely my fault, caused
by
my ineptitude regarding Markdown. What I wanted to display is revealed
by the actual commit:
https://github.com/tgerczei/smartos-guesthandler/commit/f7acdb6c01dbdf5bed728e6c4b990bfc57ca646a
I failed to have literal backslashes displayed in order to facilitate
the escaping, as it has already been pointed out. I'll also add the
information about dropping the manifests under /opt/custom/smf in the
README, for posterity. Thanks for the feedback and please keep it
coming!
Just a couple more points, which should make the instructions complete
for someone new
to the SmartOS environment.
1. The directory /opt/custom/bin/ needs creating, if it doesn't already
exist
2. The file svc-guesthandler needs execute permission
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125
Powered by Listbox: https://www.listbox.com