I'm seeing many of the following errors from systemd
for Apache ActiveMQ Artemis.
Sep 25 04:41:17 server systemd[1]: /etc/systemd/system/artemis.service:1: Assignment outside of section. Ignoring.
Sep 25 04:41:17 server systemd[1]: /etc/systemd/system/artemis.service:2: Assignment outside of section. Ignoring.
I took some helpful advice from here, but as far as I can tell the file is OK.
> file artemis.service
artemis.service: ASCII text
So I think the file format is correct, and I don't see any extra characters:
> cat -A artemis.service
Description=Apache ActiveMQ Artemis$
After=network.target$
[Service]$
Type=simple$
User=activemq$
Group=activemq$
ExecStart=/var/lib/broker-HA/bin/artemis run$
#ExecStop=/var/lib/broker-HA/bin/artemis stop$
UMask=0007$
RestartSec=10$
Restart=always$
[Install]$
WantedBy=multi-user.target$
What might be causing this?
[Unit]
. Not putting as answer, this seems a tad off-topic for SO. – Elane