Welcome to the forum, Guest

TOPIC: YACReaderLibraryServer in Raspberry Pi

YACReaderLibraryServer in Raspberry Pi 1 month 1 week ago #3370

JOCELYN

Offline

Fresh Boarder

Posts: 6

Karma: 0

Ok, thanks.
But it's not blocking. The library is functional at all.
May be some files it doesn't like...
The administrator has disabled public write access.

YACReaderLibraryServer in Raspberry Pi 1 month 1 week ago #3371

selmf

Offline

Developer

Posts: 299

Thank you received: 71

Karma: 7

Did a quick google search and it looks like it's the pdf backend complaining about bad pdf. Not our fault ;)
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

YACReaderLibraryServer in Raspberry Pi 3 weeks 5 days ago #3409

selmf

Offline

Developer

Posts: 299

Thank you received: 71

Karma: 7

Jocelyn (or anybody else interested): I'm currently working on a systemd service file for YACReaderLibraryServer so users don't have to mess with cronjobs anymore. It's already working on my Archlinux machine but it needs testing by actual users so that I can be sure it works as intended. So, if you could test it and give me some feedback that would be appreciated ;)
[Unit]
Description=YACReaderLibrary headless server
After=network.target

[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/YACReaderLibraryServer start

[Install]
WantedBy=multi-user.target

Instructions:
0. create a file named "yacreaderlibraryserver.service" and copy the text above into it
1. change the path used in ExecStart so it points to the location your headless server binary resides
2. copy the service file to ~/.local/share/systemd/user
3. enable the service file by running:
"systemclt --user enable yacreaderlibraryserver"
4. start the server by running:
"systemctl --user start yacreaderlibraryserver"
5. check the server status by running:
systemctl --user status yacreaderlibraryserver

The server will keep running till you tell systemd to stop it by running "systemctl --user stop yacreaderlibraryserver". In the event of a program crash systemd will reload the server. Feel free to test this by running "killall YACReaderLibraryServer". IMPORTANT!!! Never run YACReaderLibraryServer as root!!!
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Last Edit: 3 weeks 5 days ago by selmf.
The administrator has disabled public write access.
Powered by Kunena Forum