Hello,

I've installed the latest MarkLogic 9 on CENTOS 7 which uses systemd to 
bootstrap the system. But since the installer only provides 
/etc/init.d/MarkLogic scripts I have created the following system unit file to 
integrate it with systemd

[Unit]
Description=MarkLogic Server
After=syslog.target

[Service]
Type=forking
ExecStart=/etc/init.d/MarkLogic start
ExecStop=/etc/init.d/MarkLogic stop

[Install]
WantedBy=multi-user.target

That all seems to work and I can start/stop MarkLogic with systemctl now, but 
the automatic restart triggered by the admin console doesn't work and 
systemd-journald reports:
Broadcast message from [email protected] (Fri 2017-11-10 
10:05:11 CET):
MarkLogic[7536]: Initialization: XDMP-DISABLED: Service disabled on 
vmlinmlc06.iso.ch: Stopping by SIGTERM from pid 7535

Has anyone experience with MarkLogic and systemd?

Holger
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to