[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5726] addons/1.3/plack-fcgi/trunk



Revision: 5726
          http://sourceforge.net/p/ledger-smb/code/5726
Author:   einhverfr
Date:     2013-04-30 08:04:38 +0000 (Tue, 30 Apr 2013)
Log Message:
-----------
Adding uncommitted plack addon

Added Paths:
-----------
    addons/1.3/plack-fcgi/trunk/system/
    addons/1.3/plack-fcgi/trunk/system/ledgersmb.service
    addons/1.3/plack-fcgi/trunk/system/lsmbstart
    addons/1.3/plack-fcgi/trunk/system/lsmbstop

Added: addons/1.3/plack-fcgi/trunk/system/ledgersmb.service
===================================================================
--- addons/1.3/plack-fcgi/trunk/system/ledgersmb.service	                        (rev 0)
+++ addons/1.3/plack-fcgi/trunk/system/ledgersmb.service	2013-04-30 08:04:38 UTC (rev 5726)
@@ -0,0 +1,18 @@
+[Unit]
+Description=LedgerSMB FCGI service
+After=syslog.target
+
+[Service]
+Type=forkking
+PIDfile=/var/run/httpd/lsmb.pid
+RemainAfterExit=yes
+ExecStart=/usr/bin/lsmbstart
+ExecStop=/usr/bin/lsmbstop
+Environment=BOOTUP=serial
+Environment=CONSOLETYPE=serial
+StandardOutput=syslog
+StandardError=syslog
+
+[Install]
+WantedBy=basic.target
+

Added: addons/1.3/plack-fcgi/trunk/system/lsmbstart
===================================================================
--- addons/1.3/plack-fcgi/trunk/system/lsmbstart	                        (rev 0)
+++ addons/1.3/plack-fcgi/trunk/system/lsmbstart	2013-04-30 08:04:38 UTC (rev 5726)
@@ -0,0 +1,5 @@
+#!/usr/bin/bash
+
+cd /usr/share/ledgersmb
+plackup -s FCGI -D --listen /var/run/httpd/fastcgi/lsmb.sock
+

Added: addons/1.3/plack-fcgi/trunk/system/lsmbstop
===================================================================
--- addons/1.3/plack-fcgi/trunk/system/lsmbstop	                        (rev 0)
+++ addons/1.3/plack-fcgi/trunk/system/lsmbstop	2013-04-30 08:04:38 UTC (rev 5726)
@@ -0,0 +1,4 @@
+#!/usr/bin/bash
+
+killall perl-fcgi-pm
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.