Skip to content
Snippets Groups Projects
Commit 4b2ef00a authored by ale's avatar ale
Browse files

Fix server invocation in systemd unit

parent fdde3783
No related branches found
No related tags found
No related merge requests found
Pipeline #
# Uncomment this line to start the HTTP interface daemon.
#ENABLE_SERVER=true
# Set the address (host:port) to listen on.
ADDR="--http-server=127.0.0.1:4040"
ADDR="--addr=127.0.0.1:4040"
# Directory where books are stored.
BOOK_DIR="--book-dir=/var/lib/liber/books"
......
......@@ -5,7 +5,7 @@ After=network.target
[Service]
User=liber
EnvironmentFile=/etc/default/liber
ExecStart=/usr/bin/liber $BOOK_DIR $ADDR $LIBER_OPTIONS
ExecStart=/usr/bin/liber $BOOK_DIR $LIBER_OPTIONS server $ADDR
Restart=always
[Install]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment