Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computer:raspberry_pi_artnet_shutter [2016/07/08 14:53]
tdobes
computer:raspberry_pi_artnet_shutter [2016/07/12 00:46] (current)
tdobes [Part 2: Wireless]
Line 376: Line 376:
 echo '​WantedBy=multi-user.target'​ >> /​etc/​systemd/​system/​artnet_servo.service echo '​WantedBy=multi-user.target'​ >> /​etc/​systemd/​system/​artnet_servo.service
 systemctl enable artnet_servo && systemctl start artnet_servo systemctl enable artnet_servo && systemctl start artnet_servo
 +</​code>​
 +
 +<​code>​
 +echo '#​!/​bin/​sh'​ > /​usr/​local/​bin/​ola-reload-plugins.sh
 +echo 'if ! pidof /​usr/​bin/​olad > /dev/null; then' >> /​usr/​local/​bin/​ola-reload-plugins.sh
 +echo ' ​ exit 0' >> /​usr/​local/​bin/​ola-reload-plugins.sh
 +echo '​fi'​ >> /​usr/​local/​bin/​ola-reload-plugins.sh
 +echo 'wget -q -O /dev/null --timeout=0.5 http://​localhost:​9090/​reload &' >> /​usr/​local/​bin/​ola-reload-plugins.sh
 +echo 'exit 0' >> /​usr/​local/​bin/​ola-reload-plugins.sh
 +chmod +x /​usr/​local/​bin/​ola-reload-plugins.sh
 +** add /​usr/​local/​bin/​ola-reload-plugins.sh to post-up for eth0, tom in /​etc/​network/​interfaces
 </​code>​ </​code>​
  
computer/raspberry_pi_artnet_shutter.txt · Last modified: 2016/07/12 00:46 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS