[Unit]
Description=Argeo node %I
-After=network.target
+After=network-online.target
Wants=postgresql.service
[Service]
Type=simple
+
+User=daemon
+Group=daemon
+
StateDirectory=argeo.d/%I
LogsDirectory=argeo.d/%I
ConfigurationDirectory=argeo.d/%I
@/etc/argeo.d/jvm.args \
@${CONFIGURATION_DIRECTORY}/jvm.args \
@/usr/share/argeo/jvm.args
+
# Exit codes of the JVM when SIGTERM or SIGINT have been caught:
SuccessExitStatus=143 130
+CPUAccounting=true
+MemoryAccounting=true
+TasksAccounting=true
+IOAccounting=true
+IPAccounting=true
+
[Install]
WantedBy=multi-user.target