[Unit]
Description=<%= EZBake::Config[:project] %> Service
After=syslog.target network.target

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/<%= EZBake::Config[:project] %>
User=$USER

ExecStart=/opt/puppet/bin/java $JAVA_ARGS \
          -cp "${INSTALL_DIR}/<%= EZBake::Config[:uberjar_name] %>" clojure.main \
          -m puppetlabs.trapperkeeper.main --config "${CONFIG}" $@

ExecStop=/bin/kill $MAINPID

StandardOutput=syslog

[Install]
WantedBy=multi-user.target

[Unit]
Description=<%= EZBake::Config[:project] %> Service
After=syslog.target network.target

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/<%= EZBake::Config[:project] %>
User=<%= EZBake::Config[:user] %>

ExecStart=/opt/puppet/bin/java $JAVA_ARGS \
          -cp "${INSTALL_DIR}/<%= EZBake::Config[:uberjar_name] %>" clojure.main \
          -m puppetlabs.trapperkeeper.main --config "${CONFIG}" $@

ExecStop=/bin/kill $MAINPID

StandardOutput=syslog

[Install]
WantedBy=multi-user.target

Fix systemd for pe templates
Fix systemd for pe templates
