Skip to content

Commit

Permalink
The systemd service file needs LD_LIBRARY_PATH set
Browse files Browse the repository at this point in the history
Otherwise it doesn't find the custom compiled SQLite library, and
won't start.
  • Loading branch information
justinclift committed Jan 7, 2024
1 parent 4fa6cd2 commit 742f3b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd/db4s-downloader.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Wants=network-online.target
AssertFileIsExecutable=/usr/local/bin/db4s_cluster_downloader

[Service]
Environment="LD_LIBRARY_PATH=/var/lib/db4s/git_repos/db4s_cluster_downloader/local/lib"
ExecStart=/usr/local/bin/db4s_cluster_downloader
WorkingDirectory=/usr/local/bin
User=db4s
Expand Down

0 comments on commit 742f3b4

Please sign in to comment.