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
# clone repos | |
git clone https://github.com/kiwiirc/kiwiirc.git ~/kiwiirc/kiwiirc | |
git clone https://github.com/kiwiirc/webircgateway.git ~/kiwiirc/webircgateway | |
git clone https://github.com/ItsOnlyBinary/test2-fileuploader.git ~/kiwiirc/test2-fileuploader | |
# make destination directories | |
mkdir -p ~/kiwiirc/run/plugins | |
mkdir -p ~/kiwiirc/run/www | |
# setup fileupload as plugin |
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
Create /var/www/installkiwibnc.sh with contents: | |
cd /var/www/kiwibnc | |
/usr/bin/npm install | |
Run these commands: | |
sudo -u http chmod +x /var/www/installkiwibnc.sh | |
sudo -u http /var/www/installkiwibnc.sh |
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
[Unit] | |
Description=An IRC bouncer | |
Documentation=https://github.com/kiwiirc/kiwibnc | |
After=network.target | |
[Service] | |
User=http | |
Group=http | |
WorkingDirectory=/var/www/kiwibnc | |
ExecStart=/usr/bin/npm start |
NewerOlder