Last active
August 29, 2015 14:25
-
-
Save Technicus/ad49f61e41ac325b7ce2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/systemd/system/geocache-shmile.service | |
[Unit] | |
Description=shmile for geocache | |
[Service] | |
Type=simple | |
WorkingDirectory=/home/debian/shmile | |
ExecStart=/home/debian/shmile/node_modules/coffee-script/bin/coffee /home/debian/shmile/app.coffee | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo systemctl status geocache-shmile.service | |
geocache-shmile.service - shmile for geocache | |
Loaded: loaded (/etc/systemd/system/geocache-shmile.service; enabled) | |
Active: active (running) since Fri, 17 Jul 2015 17:51:46 +0000; 1min 12s ago | |
Main PID: 2321 (node) | |
CGroup: name=systemd:/system/geocache-shmile.service | |
├ 2321 node /home/debian/shmile/node_modules/coffee-script/bin/coffee /home/debian/shmile/app.coffee | |
├ 2372 /bin/sh /home/debian/snapshot-fsw.sh 1437155574983.jpg | |
└ 2373 fswebcam --no-banner --rotate -90 -v -r 768x1024 --jpeg 95 -D 1 1437155574983.jpg | |
Jul 17 17:52:54 beaglebone coffee[2321]: snap: spawn /home/debian/snapshot-fsw.sh | |
Jul 17 17:52:55 beaglebone coffee[2321]: snap: spawn returned | |
Jul 17 17:52:57 beaglebone coffee[2321]: postCapture: fname=1437155574983.jpg | |
Jul 17 17:52:57 beaglebone coffee[2321]: postCapture: cwd=public/photos | |
Jul 17 17:52:57 beaglebone coffee[2321]: postCapture: web_root_path=/photos | |
Jul 17 17:52:57 beaglebone coffee[2321]: postCapture: emit camera_snapped | |
Jul 17 17:52:57 beaglebone coffee[2321]: debug: websocket writing 5:::{"name":"camera_snapped"} | |
Jul 17 17:52:57 beaglebone coffee[2321]: postCapture: emit photo_saved | |
Jul 17 17:52:57 beaglebone coffee[2321]: debug: websocket writing 5:::{"name":"photo_saved","args":[{"filename":"1437155574983.jpg","path":"public/...3.jpg"}]} | |
Jul 17 17:52:57 beaglebone coffee[2321]: postCapture: photo_saved: fname=1437155574983.jpg | |
debian@beaglebone:~/shmile$ sudo nano /etc/systemd/system/geocache-shmile.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment