As sudo
This commit is contained in:
parent
d966685c5f
commit
3477f58ab9
1 changed files with 13 additions and 13 deletions
|
@ -1,18 +1,18 @@
|
||||||
sudo apt-get update
|
apt-get update
|
||||||
|
|
||||||
sudo apt-get install -y munin-node
|
apt-get install -y munin-node
|
||||||
sudo cp installation/rpi-internal-temp /usr/share/munin/plugins
|
cp installation/rpi-internal-temp /usr/share/munin/plugins
|
||||||
sudo ln -sf /usr/share/munin/plugins/rpi-internal-temp /etc/munin/plugins/rpi-internal-temp
|
ln -sf /usr/share/munin/plugins/rpi-internal-temp /etc/munin/plugins/rpi-internal-temp
|
||||||
sudo chmod a+x /usr/share/munin/plugins/rpi-internal-temp
|
chmod a+x /usr/share/munin/plugins/rpi-internal-temp
|
||||||
sudo echo "allow ^192\\.168\\.0\\.155\$" >> /etc/munin/munin-node.conf
|
echo "allow ^192\\.168\\.0\\.155\$" >> /etc/munin/munin-node.conf
|
||||||
sudo service munin-node restart
|
service munin-node restart
|
||||||
|
|
||||||
sudo apt-get install -y supervisor
|
apt-get install -y supervisor
|
||||||
|
|
||||||
# Added chown=pi:pi
|
# Added chown=pi:pi
|
||||||
sudo cp installation/supervisord.conf /etc/supervisor/supervisord.conf
|
cp installation/supervisord.conf /etc/supervisor/supervisord.conf
|
||||||
sudo ln -s /home/pi/hugvey/supervisor.conf /etc/supervisor/conf.d/hugvey.conf
|
ln -s /home/pi/hugvey/supervisor.conf /etc/supervisor/conf.d/hugvey.conf
|
||||||
sudo service supervisord restart
|
service supervisord restart
|
||||||
sudo supervisorctl reread
|
supervisorctl reread
|
||||||
sudo supervisorctl update
|
supervisorctl update
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue