diff options
Diffstat (limited to 'net-im/openfire/files/openfire.service')
-rw-r--r-- | net-im/openfire/files/openfire.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-im/openfire/files/openfire.service b/net-im/openfire/files/openfire.service new file mode 100644 index 000000000000..6f2ff26ed497 --- /dev/null +++ b/net-im/openfire/files/openfire.service @@ -0,0 +1,13 @@ +[Unit] +Description=Openfire XMPP Server +After=network.target + +[Service] +User=jabber +Group=jabber +PrivateTmp=true +ExecStart=/usr/bin/java -server -Xmx256m -DopenfireHome=/opt/openfire -Dopenfire.lib.dir=/opt/openfire/lib -classpath /opt/openfire/lib/startup.jar -jar /opt/openfire/lib/startup.jar +SuccessExitStatus=143 SIGKILL + +[Install] +WantedBy=multi-user.target |