Verified Commit 9b3f09a5 authored by anarcat's avatar anarcat
Browse files

support passing args to processor through config file

This makes it possible to enable verbose without reloading systemd.
parent 6baf7402
......@@ -130,6 +130,10 @@ Add the configuration file to
WEBDAV_LOCATION=https://example.com/remote.php/dav/files/dangerzone-bot/
WEBDAV_USERNAME=dangerzone-bot
WEBDAV_PASSWORD=[REDACTED]
ARGS=--verbose
Notice how you can pass extra arguments to the systemd service in the
`ARGS` variable.
Those are equivalent to the `--location`, `--username`, and
`--password` parameters, documented above.
......
......@@ -7,4 +7,4 @@ User=dangerzone
Type=oneshot
Nice=10
EnvironmentFile=/etc/default/dangerzone-webdav-processor
ExecStart=/usr/bin/dangerzone-webdav-processor
ExecStart=/usr/bin/dangerzone-webdav-processor $ARGS
Supports Markdown
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