This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DT=`date +"%d%m%y-%H%M%S"` | |
#################################################### | |
# Copyright (C) 2012 | |
# Program: vbmailqueue.sh | |
# by George Liu (eva2000) vbtechsupport.com | |
# Updated: June 3rd, 2012 AEST | |
SCRIPTNAME='vbmailqueue.sh' | |
SCRIPTURL='vbtechsupport.com' | |
SCRIPTAUTHOR='George Liu (eva2000)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=disqusbox> | |
<div><hr /> | |
<p><strong>View or Post Comments</strong></p> | |
</div> | |
<div id="disqus_thread"><form onsubmit="my.loadDisqus();return false;" class=formBlock><input class=cmd type=submit value="Discuss"> <input class=cmd type=submit value="Feedback"> <input class=cmd type=submit value="Comments"></form></div> | |
<script> | |
var disqus_shortname = "yourdisqus_shortname"; | |
// provide the following in the template, if necessary | |
// var disqus_url = "http://yourghostblogdomainname/"; | |
var disqus_identifier = '{{id}}'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// # Ghost Configuration | |
// Setup your Ghost install for various environments | |
var path = require('path'), | |
config; | |
config = { | |
// ### Development **(default)** | |
development: { | |
// The url to use when providing links to the site, E.g. in RSS and email. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service ghost1 status | |
Status for ghost1: | |
PM2 Process listing | |
+------------------------------------------------------------------------------------------------------------+ | |
¦ App Name ¦ id ¦ mode ¦ PID ¦ status ¦ Restarted ¦ Uptime ¦ memory ¦ err logs ¦ | |
+----------+----+---------+-------+--------+-----------+--------+-----------+--------------------------------¦ | |
¦ ghost1 ¦ 0 ¦ cluster ¦ 19706 ¦ online ¦ 1 ¦ 3m ¦ 65.621 MB ¦ /root/.pm2/logs/ghost1-err.log ¦ | |
+------------------------------------------------------------------------------------------------------------+ | |
PM2 PM2 log file path : /root/.pm2/pm2.log (type pm2 logs to see log streaming) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
########################################### | |
# chkconfig: 2345 98 02 | |
# | |
# description: PM2 next gen process manager for Node.js | |
# processname: ghost1 | |
# | |
### BEGIN INIT INFO | |
# Provides: ghost1 | |
# Required-Start: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################## | |
# modified version of original http://media-glass.es/ghost-sitemaps/ | |
# for ghost.centminmod.com | |
# http://ghost.centminmod.com/ghost-sitemap-generator/ | |
############################################## | |
url="ghost.centminmod.com" | |
webroot='/home/nginx/domains/ghost.centminmod.com/public' | |
path="${webroot}/sitemap.xml" | |
user='nginx' # web server user |