aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-01 19:07:53 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-08-01 19:07:53 +0200
commitc177b67b09d263fe45b35d4ecb07300f58f9828c (patch)
tree6d89f42fb7a83a8045f3bc53c97ce8747fcfe427
parent32b5120aaf8baf699ee900c6d0dd2dee8ebbf8be (diff)
downloadapkbuilds-c177b67b09d263fe45b35d4ecb07300f58f9828c.tar.gz
apkbuilds-c177b67b09d263fe45b35d4ecb07300f58f9828c.tar.bz2
apkbuilds-c177b67b09d263fe45b35d4ecb07300f58f9828c.zip
fix: Fix white spacing
Psql connection string as being passed as many parameters instead as one string, quoting fixed the issue.
-rw-r--r--apks/lens/lens.initd4
1 files changed, 1 insertions, 3 deletions
diff --git a/apks/lens/lens.initd b/apks/lens/lens.initd
index 6541bd1..7c26da4 100644
--- a/apks/lens/lens.initd
+++ b/apks/lens/lens.initd
@@ -1,9 +1,7 @@
#!/sbin/openrc-run
-name="lens simple file server"
-
command="/usr/bin/lens"
-command_args="--aes-key ${aes_key} --db-type ${db_type} --db-con ${db_con} --log-level ${log_level} --scheduler-count ${scheduler_count} --cache-path ${cache_path}"
+command_args="--aes-key $aes_key --db-type $db_type --db-con='$db_con' --log-level $log_level --scheduler-count $scheduler_count --cache-path $cache_path"
: ${command_user:="lens:lens"}
command_background=yes
directory="/var/lib/lens"