Commit 4b2ef00a authored by ale's avatar ale

Fix server invocation in systemd unit

parent fdde3783
Pipeline #458 passed with stage
in 21 seconds
# 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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment