Skip to content

Instantly share code, notes, and snippets.

View s0ren's full-sized avatar

Søren Magnusson s0ren

  • Technical Education Copenhagen - TEC
  • Stæhr Johansens vej 5, DK-2000 Frderiksberg, Denmark
  • 16:40 (UTC -12:00)
View GitHub Profile
@emxsys
emxsys / raspberry_pi_script_as_service.md
Last active April 6, 2024 13:46
How to run a python script as a service in Raspberry Pi - Raspbian Jessie

How to Run a Script as a Service in Raspberry Pi - Raspbian Jessie

By: Diego Acuña

Original Article: http://www.diegoacuna.me/how-to-run-a-script-as-a-service-in-raspberry-pi-raspbian-jessie/

A pretty common task when using this device, is to run some script (for example a python script) as a service in the operating system so it can start on boot, stop and restart using systemctl and more. In this post I'm going to explain how to set a little script as a service using Raspbian Jessie in a Raspberry Pi.

Example Python Script

@s0ren
s0ren / stick_demo.html
Last active August 29, 2015 14:02
GUI
<html>
<header>
<style>
#stickswrapper div img
{
display: inline;
}