" to any normal subcommand). Using it with the
/opt/payara/server/171/bin/asadmin help create-service
create-service(1) asadmin Utility Subcommands create-service(1)
create-service - configures the starting of a DAS or a GlassFish Server
instance on an unattended boot
create-service [--help] [--name service-name]
[--serviceproperties service-properties]
[--dry-run={false|true}] [--force={false|true}]
[--serviceuser service-user]
[--nodedir node-dir] [--node node]
[domain-or-instance-name]
The create-service subcommand configures the starting of a domain
administration server (DAS) or a GlassFish Server instance on an
unattended boot on Windows, Linux, and Oracle Solaris systems.
If no operand is specified and the domains directory contains only one
domain, the subcommand configures the starting of the DAS for the
default domain. If no operand is specified and the domains directory
contains multiple domains, an error occurs.
So the command you would need to use would be:
asadmin create-service payaradomain
I would recommend you run the help command yourself, too, since there is a lot of extra information there which may be relevant.