diff --git a/deploy_01.png b/deploy_01.png deleted file mode 100644 index a1234ff..0000000 Binary files a/deploy_01.png and /dev/null differ diff --git a/deploy_02.png b/deploy_02.png deleted file mode 100644 index 3599ab2..0000000 Binary files a/deploy_02.png and /dev/null differ diff --git a/deploy_03.png b/deploy_03.png deleted file mode 100644 index 3c9882f..0000000 Binary files a/deploy_03.png and /dev/null differ diff --git a/octocam_mjpg.service b/octocam_mjpg.service new file mode 100644 index 0000000..452dc8f --- /dev/null +++ b/octocam_mjpg.service @@ -0,0 +1,12 @@ +[Unit] +Description=the OctoPi(buntu) webcam daemon with the user specified config +After=network.online.target +Wants=network.online.target + +[Service] +User=OCTOUSER +Environment="LD_LIBRARY_PATH=/home/OCTOUSER/mjpg-streamer" +ExecStart=/home/OCTOUSER/mjpg-streamer/mjpg_streamer -i "input_uvc.so -d /dev/OCTOCAM -r RESOLUTION -f FRAMERATE" -o "output_http.so -p CAMPORT" + +[Install] +WantedBy=multi-user.target diff --git a/octocam_ustream.service b/octocam_ustream.service new file mode 100644 index 0000000..452dc8f --- /dev/null +++ b/octocam_ustream.service @@ -0,0 +1,12 @@ +[Unit] +Description=the OctoPi(buntu) webcam daemon with the user specified config +After=network.online.target +Wants=network.online.target + +[Service] +User=OCTOUSER +Environment="LD_LIBRARY_PATH=/home/OCTOUSER/mjpg-streamer" +ExecStart=/home/OCTOUSER/mjpg-streamer/mjpg_streamer -i "input_uvc.so -d /dev/OCTOCAM -r RESOLUTION -f FRAMERATE" -o "output_http.so -p CAMPORT" + +[Install] +WantedBy=multi-user.target