I’m currently bringing up a memcached server (had to compile from source, not included in suse12) and I’m trying to add the newrelic plugin to monitor.
Everything is installed, I have memcache set up as a systemd service, runs fine, but the newrelic plugin is java based and has a init.d script.
Now if I run the init.d script /etc/init.d/newrelic_plugin_memcached it runs just fine. But if I try to run the same script using service or systemctl is fails to start.
Isn’t there a line I can add to a init.d script so the the system just runs the script as it should ? very frustrating.
I’ve also looked at other init.d scripts and I’ll be damed if I can see why one script works fine through service and others don’t in this new systemd setup.