pump.io dependencies
This commit is contained in:
parent
8b953d76d5
commit
9983681b5c
|
@ -5395,7 +5395,7 @@ When following other GNU Social users enter the URL of your profile. For exampl
|
||||||
For a pump.io site you will need a separate domain/subdomain, so see [[Setting up a web site]] for details of how to create an Apache configuration for your site. If you're using freedns then you will need to create a new subdomain.
|
For a pump.io site you will need a separate domain/subdomain, so see [[Setting up a web site]] for details of how to create an Apache configuration for your site. If you're using freedns then you will need to create a new subdomain.
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
apt-get update && apt-get install redis-server nodejs-legacy graphicsmagick git-core screen
|
apt-get update && apt-get install redis-server nodejs-legacy imagemagick graphicsmagick git-core screen
|
||||||
cd /opt
|
cd /opt
|
||||||
git clone https://github.com/e14n/pump.io.git
|
git clone https://github.com/e14n/pump.io.git
|
||||||
cd /opt/pump.io
|
cd /opt/pump.io
|
||||||
|
@ -5538,19 +5538,16 @@ HISTORY=1024
|
||||||
INVOCATION="nice -n ${NICELEVEL} ${COMMAND}"
|
INVOCATION="nice -n ${NICELEVEL} ${COMMAND}"
|
||||||
PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/var/local/pump.io'
|
PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/var/local/pump.io'
|
||||||
|
|
||||||
|
|
||||||
pumpio_start() {
|
pumpio_start() {
|
||||||
echo "Starting $SERVICE..."
|
echo "Starting $SERVICE..."
|
||||||
su --command "screen -h ${HISTORY} -dmS ${SERVICE} ${INVOCATION}" $USERNAME
|
su --command "screen -h ${HISTORY} -dmS ${SERVICE} ${INVOCATION}" $USERNAME
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pumpio_stop() {
|
pumpio_stop() {
|
||||||
echo "Stopping $SERVICE"
|
echo "Stopping $SERVICE"
|
||||||
su --command "screen -p 0 -S ${SERVICE} -X stuff "'^C'"" $USERNAME
|
su --command "screen -p 0 -S ${SERVICE} -X stuff "'^C'"" $USERNAME
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#Start-Stop here
|
#Start-Stop here
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
|
@ -5585,7 +5582,7 @@ Now visit your pump.io site by navigating to:
|
||||||
|
|
||||||
https://mypumpiodomainname.com
|
https://mypumpiodomainname.com
|
||||||
|
|
||||||
and adding a new user. If you wish this to be a single user node not open to the general public (including spammers and sockpuppets) then edit */etc/pump.io.json* and set *disableRegistration* to *true*. After making that change restart with the command *service pumpio restart*.
|
and add a new user. If you wish this to be a single user node not open to the general public (including spammers and sockpuppets) then edit */etc/pump.io.json* and set *disableRegistration* to *true*. After making that change restart with the command *service pumpio restart*.
|
||||||
|
|
||||||
** Install Tripwire
|
** Install Tripwire
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue