View Single Post
Old 05-30-2016, 04:39 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
--user is one of the arguments to `calibre-server` and refers to the webserver login username/pasword.
Systemd per-user services are better done with `systemctl --user`. Although you can also run the service as root and tell it to invoke the "Exec=" command as a specific "User="

You can use the above systemd service file I posted, with the command
Code:
systemctl start --user calibre-server@LibraryName.service
It uses a configuration file at ~/.config/calibre/servers/LibraryName.conf:
Code:
port="8080"
path="/home/eschwartz/Calibre Libraries/LibraryName"
restriction="optional Virtual Library restriction"
user="some_username"
pass="some_password"

Last edited by eschwartz; 05-30-2016 at 04:44 PM.
eschwartz is offline   Reply With Quote