Makefile build for freed
[gpl/argeo-freed.git] / usr / lib / systemd / system / argeo@.service
diff --git a/usr/lib/systemd/system/argeo@.service b/usr/lib/systemd/system/argeo@.service
deleted file mode 100644 (file)
index 8c05d3c..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-[Unit]
-Description=Argeo node %I
-After=network-online.target
-Wants=postgresql.service
-
-[Service]
-Type=simple
-
-User=freed
-Group=freed
-
-StateDirectory=argeo.d/%I
-LogsDirectory=argeo.d/%I
-ConfigurationDirectory=argeo.d/%I
-CacheDirectory=argeo.d/%I
-WorkingDirectory=/var/lib/argeo.d/%I
-
-ExecStart=java \
--Dosgi.configuration.cascaded=true \
--Dosgi.sharedConfiguration.area=/etc/argeo.d/%I/ \
--Dosgi.sharedConfiguration.area.readOnly=true \
--Dosgi.configuration.area=${STATE_DIRECTORY}/state/ \
--Dosgi.instance.area=${STATE_DIRECTORY}/data/ \
--Dargeo.node.repo.indexesBase=${CACHE_DIRECTORY}/indexes \
--Dorg.osgi.framework.system.packages.extra=sun.security.util,sun.security.internal.spec,sun.security.provider,com.sun.net.httpserver,com.sun.jndi.ldap,com.sun.jndi.ldap.sasl,com.sun.jndi.dns,com.sun.security.jgss,com.sun.nio.file,com.sun.nio.sctp \
--Declipse.ignoreApp=true \
--Dosgi.noShutdown=true \
--Dorg.eclipse.equinox.http.jetty.autostart=false \
-@/etc/argeo.d/jvm.args \
-@${CONFIGURATION_DIRECTORY}/jvm.args \
-@lib/argeo/jvm.args \
-org.argeo.init.ServiceMain
-# 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