systemd: use the new puppetdb service entrypoint

puppetlabs.puppetdb.main is not supported anymore, spawn puppetdb using
puppetlabs.puppetdb.core and the `services` subcommand instead.
parent 173202b0
......@@ -13,7 +13,8 @@ ExecStart=/usr/bin/java $JAVA_ARGS -Djava.security.egd=/dev/urandom \
-XX:OnOutOfMemoryError="kill -9 %%p" \
-cp /usr/share/puppetdb/puppetdb.jar \
clojure.main \
-m puppetlabs.puppetdb.main \
-m puppetlabs.puppetdb.core \
services \
--config "/etc/puppetdb/conf.d" \
--bootstrap-config "/etc/puppetdb/bootstrap.cfg" \
--restart-file "/run/puppetdb/restart"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment