0xGA: Check-in [940cbc4aab]

Yet another PHP framework, but made for org-mode and geeks.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add creation of a dedicated systemd service file to put in /etc/systemd/system/ if necessary
Timelines: family | ancestors | descendants | both | narv
Files: files | file ages | folders
SHA1:940cbc4aabcd96907ca4abe15e4100711f162305
User & Date: milouse 2014-08-24 01:00:53
Context
2014-09-24
15:59
Sign install script and offer verification on the fly. check-in: abe4544729 user: milouse tags: narv
2014-08-24
01:00
Add creation of a dedicated systemd service file to put in /etc/systemd/system/ if necessary check-in: 940cbc4aab user: milouse tags: narv
00:35
Little fix to ease first deployment check-in: f1e34534e9 user: milouse tags: narv
Changes

Changes to narv.

480
481
482
483
484
485
486















487
488
489
490
491
492
493
             (file-exists-p content-file)
             (file-writable-p content-file))
        (progn
          (find-file content-file)
          (message (concat "Opened " (ed/orgx-get-file-name))))
      (message (concat "Not a valid orgx file: " dir)))))
EOF
















        exec 1>&6 6>&- # Restore stdout and close fd #6

        chmod u+x $WORKINGREP/usr/bin/$APPNAME.py

        echo "Application installation finished."
        echo ":: A sample emacs configuration file has been created in







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
             (file-exists-p content-file)
             (file-writable-p content-file))
        (progn
          (find-file content-file)
          (message (concat "Opened " (ed/orgx-get-file-name))))
      (message (concat "Not a valid orgx file: " dir)))))
EOF

        exec > $WORKINGREP/var/${APPNAME}@narv.service
        cat <<EOF
[Unit]
Description=$APPNAME Narv Web Application

[Service]
Type=simple
PIDFile=/srv/http/narvroot/var/${APPNAME}.pid
ExecStart=/srv/http/narvroot/usr/bin/narv start $APPNAME -d /srv/http/narvroot/
ExecStop=/srv/http/narvroot/usr/bin/narv stop $APPNAME -d /srv/http/narvroot/

[Install]
WantedBy=multi-user.target
EOF

        exec 1>&6 6>&- # Restore stdout and close fd #6

        chmod u+x $WORKINGREP/usr/bin/$APPNAME.py

        echo "Application installation finished."
        echo ":: A sample emacs configuration file has been created in