diff options
author | rssaravana <saravanakumar.somaskandan@huawei.com> | 2017-02-17 16:44:25 +0530 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2017-03-16 09:36:57 +0800 |
commit | 8da5888adfc919b20807f0783e1ae841fac4244e (patch) | |
tree | 71586489c05a36636e85b7770353b373838cadfe /deploy/adapters/ansible/roles/onos_cluster/files/onos.service | |
parent | f80d7239a4d0caba934f14dcb541dff387539378 (diff) |
onos 1.8 upgradation for danube
Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012
Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/onos_cluster/files/onos.service')
-rwxr-xr-x | deploy/adapters/ansible/roles/onos_cluster/files/onos.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/onos_cluster/files/onos.service b/deploy/adapters/ansible/roles/onos_cluster/files/onos.service new file mode 100755 index 00000000..2f4e8dd4 --- /dev/null +++ b/deploy/adapters/ansible/roles/onos_cluster/files/onos.service @@ -0,0 +1,20 @@ +[Unit] +Description=ONOS +After= + + +[Service] +User=root +Group=root +Type=simple +WorkingDirectory=/opt/onos/apache-karaf-3.0.5 +PermissionsStartOnly=true +ExecStartPre= +ExecStart=/usr/lib/jvm/java-8-oracle/bin/java -server -Xms128M -Xmx512M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dcom.sun.management.jmxremote -Djava.endorsed.dirs=/usr/lib/jvm/java-8-oracle/jre/lib/endorsed:/usr/lib/jvm/java-8-oracle/lib/endorsed:/opt/onos/apache-karaf-3.0.5/lib/endorsed -Djava.ext.dirs=/usr/lib/jvm/java-8-oracle/jre/lib/ext:/usr/lib/jvm/java-8-oracle/lib/ext:/opt/onos/apache-karaf-3.0.5/lib/ext -Dkaraf.instances=/opt/onos/apache-karaf-3.0.5/instances -Dkaraf.home=/opt/onos/apache-karaf-3.0.5 -Dkaraf.base=/opt/onos/apache-karaf-3.0.5 -Dkaraf.data=/opt/onos/apache-karaf-3.0.5/data -Dkaraf.etc=/opt/onos/apache-karaf-3.0.5/etc -Djava.io.tmpdir=/opt/onos/apache-karaf-3.0.5/data/tmp -Djava.util.logging.config.file=/opt/onos/apache-karaf-3.0.5/etc/java.util.logging.properties -Dkaraf.startLocalConsole=true -Dkaraf.startRemoteShell=true -classpath /opt/onos/apache-karaf-3.0.5/lib/karaf-jaas-boot.jar:/opt/onos/apache-karaf-3.0.5/lib/karaf-org.osgi.core.jar:/opt/onos/apache-karaf-3.0.5/lib/karaf.jar org.apache.karaf.main.Main +Restart=on-failure +LimitNOFILE=65535 +TimeoutStopSec=15 + +[Install] +WantedBy=multi-user.target + |