veebch/btcticker

Having problems starting the service

Schinderberge opened this issue · 1 comments

Hey.

Just followed step by step. Beeing a noob doing such things I got an error when I tried to start the service.

What did I miss?

Think I‘ll need some help to finish this project.

Thx in advance for your help.

0A9E1F4E-1636-4AE1-AFE8-6221B1BC8872
91511964-B655-48D0-94E0-CE01E6FE6498
B2B9359C-0B24-4FE2-B3F7-150E5DACF96F
6520851A-283F-459E-A17E-63C825ED22EB

Hey :) Your service file is missing parts. Have a look at the text again in the readme and try again.

cat <<EOF | sudo tee /etc/systemd/system/btcticker.service
[Unit]
Description=btcticker
After=network.target

[Service]
ExecStart=/usr/bin/python3 -u /home/pi/btcticker/btcticker.py
WorkingDirectory=/home/pi/btcticker/
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi

[Install]
WantedBy=multi-user.target
EOF