{"id":7009,"date":"2018-09-29T00:40:23","date_gmt":"2018-09-29T00:40:23","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=7009"},"modified":"2021-11-09T15:14:06","modified_gmt":"2021-11-09T23:14:06","slug":"starting-eformz-service-on-a-linux-machine","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/starting-eformz-service-on-a-linux-machine\/","title":{"rendered":"Starting and stopping eFORMz service on a Linux machine"},"content":{"rendered":"<p>First, you will need to have eFORMz installed on a Linux machine.<br \/>\nTo do this please follow this guide:<\/p>\n<p><a href=\"\/support\/index.php\/installing-eformz-on-unix\/\">Installing eFORMz on Unix<\/a><\/p>\n<p>Once you have eFORMz installed you will need a couple of shell scripts to start and stop the service.<\/p>\n<p>You can download these scripts here: <a href=\"\/support\/wp-content\/uploads\/2018\/09\/StarAndStopScripts.zip\">StartAndStopScripts.<\/a>&nbsp;Place these scripts where you have eFORMz installed on your Linux&nbsp;machine.<br \/>\nThe start script looks like this:<\/p>\n<pre>PARMS=\"-Xmx2G -Xms256m -Duser.dir=\/home\/minisoft\"\nLOG1=log\/director_stdout.txt\nLOG2=log\/director_stderr.txt\ncd \/home\/ladmin\/minisoft\necho starting &gt;&gt;${LOG1} \necho starting &gt;&gt;${LOG2}\njava ${PARMS} -Djava.awt.headless=true -jar Run.jar -Monitor=true \/home\/minisoft 1&gt;&gt;${LOG1} 2&gt;&gt;${LOG2} &amp;\necho ready $! &gt;&gt;${LOG1} \necho ready $! &gt;&gt;${LOG2} \n\n<\/pre>\n<p>The stop script looks like this:<\/p>\n<pre>PARMS=\"-Xmx2G -Xms256m -Duser.dir=\/home\/minisoft\"\nLOG1=log\/director_stdout.txt\nLOG2=log\/director_stderr.txt\ncd \/home\/minisoft\necho starting &gt;&gt;${LOG1} \necho starting &gt;&gt;${LOG2}\njava ${PARMS} -Djava.awt.headless=true -jar Run.jar \/home\/minisoft com.minisoft.Run.manage.ServiceManagerCommand user=minisoft password=password shutdown 1&gt;&gt;${LOG1} 2&gt;&gt;${LOG2} &amp;\necho ready $! &gt;&gt;${LOG1} \necho ready $! &gt;&gt;${LOG2}<\/pre>\n<p>Depending on where you install eFORMz on your Linux machine affects if you need to change the scripts. Notice that in both the scripts there is a &#8220;\/home\/minisoft&#8221;. This is for when eFORMz is installed in the home directory. If you installed eFORMz anywhere else you will need to change this directory path to wherever you have eFORMz installed.<\/p>\n<p>Once your scripts have the correct directory paths we can now start the service.<br \/>\nIn order to run the shell script open up a terminal window and go to where the scripts are installed. Now type the command&nbsp;<em>sh .\/eformz_start.sh.<\/em><\/p>\n<p>The eFORMz service should now be running.<\/p>\n<p>In order to stop the service type the same command except for put stop where you had start.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, you will need to have eFORMz installed on a Linux machine. To do this please follow this guide: Installing eFORMz on Unix Once you have eFORMz installed you will need a couple of shell scripts to start and stop the service. You can download these scripts here: StartAndStopScripts.&nbsp;Place these scripts where you have eFORMz [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[734,95,735,414,731,733,732,82],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7009"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=7009"}],"version-history":[{"count":6,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7009\/revisions"}],"predecessor-version":[{"id":9820,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/7009\/revisions\/9820"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=7009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=7009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=7009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}