Commit d11ab984 by Szeberényi Imre

carbon fix

parent 76701508
...@@ -22,19 +22,18 @@ In circle VMs you can set the name to mycircel-dev using the following commands. ...@@ -22,19 +22,18 @@ In circle VMs you can set the name to mycircel-dev using the following commands.
```bash ```bash
sudo sed -ie 1,\$s/$(hostname)/mycircle-dev/ /etc/hosts sudo sed -ie 1,\$s/$(hostname)/mycircle-dev/ /etc/hosts
sudo bash -c "echo mycircle-dev > /etc/hostname" sudo bash -c "echo mycircle-dev > /etc/hostname"
reboot - it not neccessary because the next step sudo reboot - it not neccessary because the next steps
``` ```
Refresh your system: Refresh your system:
```bash ```bash
sudo apt update sudo apt update && sudo apt upgrade -y
sudo apt upgrade
sudo reboot sudo reboot
``` ```
Install some important packages Install some important packages
```bash ```bash
sudo apt install python3 python3-pip python3-dev virtualenvwrapper git vim sudo apt install python3 python3-pip python3-dev virtualenvwrapper git vim -y
``` ```
## Get the installer ## Get the installer
......
...@@ -6,8 +6,8 @@ After=network.target ...@@ -6,8 +6,8 @@ After=network.target
User={{ pillar['graphite']['user'] }} User={{ pillar['graphite']['user'] }}
Group={{ pillar['graphite']['user'] }} Group={{ pillar['graphite']['user'] }}
Environment=PYTHONPATH=/opt/graphite/lib GRAPHITE_ROOT=/opt/graphite Environment=PYTHONPATH=/opt/graphite/lib GRAPHITE_ROOT=/opt/graphite
WorkingDirectory=/opt/graphite/bin/ WorkingDirectory=/home/{{ pillar['graphite']['user'] }}
ExecStart=/bin/bash -c "source /etc/profile; workon graphite; exec twistd --nodaemon --reactor=epoll --no_save carbon-cache" ExecStart=/bin/bash -c "source /etc/profile; workon graphite; cd /opt/graphite/bin/; exec twistd --nodaemon --reactor=epoll --no_save carbon-cache"
Restart=always Restart=always
[Install] [Install]
......
# #
graphite-web graphite-web
whisper
carbon
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment