Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

Autostart Bitnami on Arch Linux (nodejs stack)

$
0
0

In case this helps anyone...

I'm running Arch Linux with the Bitnami Nodejs stack installed as root. My Arch Linux uses systemd start up scripts. Here's how I got the stack to autostart on boot.

  1. Put the file bitnami.service into /etc/systemd/system (file contents below).
  2. Ran "systemctl enable bitnami.service" at the command line.

This is not yet well tested and note that I'm a newbie and this is my first systemd startup script.

bitnami.service:

[Unit]
Description=Bitnami Nodejs server
After=syslog.target
After=network.target

[Service]
Type=forking
User=root
ExecStart=/opt/nodejs-0.10.5-0/ctlscript.sh start

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=30

[Install]
WantedBy=multi-user.target

Viewing all articles
Browse latest Browse all 2052

Trending Articles