After installing the wildfly example debian script in $JBOSS/home, I get the following error when running service wildfly start
"Failed to restart wildfly.service: Unit wildfly.service failed to load: No such file or directory."
I installed the wildfly startup scripts:
sudo cp $WILDFLY_HOME/bin/init.d/wildfly-init-debian.sh/etc/init.d/wildfly
sudo cp $WILDFLY_HOME/bin/init.d/wildfly.conf /etc/default/wildfly
sudo adduser --system --group --disabled-login wildfly
sudo chown -R wildfly:wildfly $WILDFLY_HOME
Anybody have a solution for this?