Skip to content

config.json not loaded when running TallyArbiter as a service with pm2 #445

Closed Answered by msberger
msberger asked this question in Q&A
Discussion options

You must be logged in to vote

a little update:
As i am a linux newbie i did some googling and tried several other ways to autostart tallyarbiter.
Solutions like using rc.local, bashrc and systemd all showed the same behaviour as autostarting with pm2 ... storing the settings of tallyarbiter was somehow not done using .local/share/TallyArbiter/config.json and the exitsting config.json was not used autostarting.

Finally i found the way using autostart / Desktop Entry ... this was working ...

sudo nano /home/pi/.config/autostart/tallyarbiter.desktop

... fill with:

[Desktop Entry]
Name=tallyarbiter
Exec=tallyarbiter

... save ... reboot ... and now tallyarbiter is starting on boot using the settings in .local/share/TallyAr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by msberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant