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.
```bash
sudo sed -ie 1,\$s/$(hostname)/mycircle-dev/ /etc/hosts
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:
```bash
sudo apt update
sudo apt upgrade
sudo apt update && sudo apt upgrade -y
sudo reboot
```
Install some important packages
```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
......
......@@ -6,8 +6,8 @@ After=network.target
User={{ pillar['graphite']['user'] }}
Group={{ pillar['graphite']['user'] }}
Environment=PYTHONPATH=/opt/graphite/lib GRAPHITE_ROOT=/opt/graphite
WorkingDirectory=/opt/graphite/bin/
ExecStart=/bin/bash -c "source /etc/profile; workon graphite; exec twistd --nodaemon --reactor=epoll --no_save carbon-cache"
WorkingDirectory=/home/{{ pillar['graphite']['user'] }}
ExecStart=/bin/bash -c "source /etc/profile; workon graphite; cd /opt/graphite/bin/; exec twistd --nodaemon --reactor=epoll --no_save carbon-cache"
Restart=always
[Install]
......
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