Quote:
Originally Posted by theducks
2 GUI on same Library is a No No
|
Yea, it was just an experiment.
;^>
Quote:
Originally Posted by eschwartz
The CLI server never writes to the library, so it is always safe. 
|
;^>
Quote:
Not a cardinal sin, but you should know why you chose to do so, and make up your own mind whether it makes sense to use Virtual Libraries instead.
|
I've been shouted at several times for wanting to do so LOL
Quote:
Just go with multiple CLI incantations.
|
I will, I just thought there's no point setting it all up just to have the new version that will do it all in one hit released a day or two later LOL
Quote:
Also, what distro do you use
|
I use Arch on one desktop, Ubuntu on the other, and Kali on the laptop.
Quote:
(I use ArchLinux), and does it use systemd as its init system?
Here is a systemd unit file which starts up a calibre library via drop-in config files. 
Code:
[eschwartz@arch ~]$ cat ~/.config/systemd/user/calibre-server@.service
[Unit]
Description=Main calibre server
After=network.target
[Service]
EnvironmentFile=/%h/.config/calibre/servers/%i.conf
ExecStart=/usr/bin/calibre-server \
--port "${port}" \
--with-library "${path}" \
--restriction "${restriction}" \
--user "${user}" \
--pass "${pass}"
[Install]
WantedBy=default.target
In your calibre configuration directory, create a folder called "servers", add ${library_name}.conf files, and keep the various parameters in the conf file.
Code:
[eschwartz@arch ~]$ cat ~/.config/calibre/servers/amazon.conf
port=""
path="/home/eschwartz/Calibre Libraries/Amazon"
restriction=""
user=""
pass=""
Then start a library with
Code:
systemctl --user start calibre-server@libraryname
or enable it every time you login with
Code:
systemctl --user enable calibre-server@libraryname
|
That'll come in handy, thanks ;^>
Quote:
I just stick with "exciting things are ahead".
|
Indeed, looking forward to it.
~Mex