RHEL 7 did
away with the init process in favor of systemd so my query is, does
Automic have a systemd setup to control the Service Manager on RHEL7?
So let me try to get this right.
Your customer has a
SysV init script and asked for a
systemd
script. You replicate the question here, but link to a thread where
someone posts a systemd start script (what's being looked for), but of which the original poster herself says
it's not
working. And then a thread which has very good, working content, but
unfortunately on
SysV init scripts, which is
totally not systemd.
Hmmmmm I'm not so sure about this ...
Either way,
here's a post that asks the same question (again a question from Automic Support), to which someone responded with a working systemd script.
Since that thread is in the wrong language though, here's the current version that is
actually proven to work, each and every day for us:
# cat /usr/lib/systemd/system/automic-ae-service-manager.service
[Unit]
Description=Automic Service Manager
Requires=network-online.target
After=network-online.target
[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/automic-ae
ExecStart=/opt/ae/current/smgr/bin/ucybsmgr PROD
IgnoreSIGPIPE=no
User=aeadm
RestartSec=8
TimeoutStartSec=10
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
/etc/sysconfig/automic-ae contains simple Key=Value pairs, such as your $LD_LIBRARY_PATH.
N.b. the environment file can NOT have variable expansions, only plain text Key=Value pairs.
Best regards,