Skip to content

Commit

Permalink
Assign default value to PCSCD_ARGS
Browse files Browse the repository at this point in the history
According to systemd.exec(5), a value in EnvironmentFile, as used now, overrides this setting.

Newer systemd will otherwise produce the following warning: "pcscd.service: Referenced but unset environment variable evaluates to an empty string: PCSCD_ARGS".
  • Loading branch information
ckastner authored Jan 9, 2025
1 parent 4e5bb43 commit 23a011d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/pcscd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Documentation=man:pcscd(8)
[Service]
ExecStart=@sbindir_exp@/pcscd --foreground --auto-exit $PCSCD_ARGS
ExecReload=@sbindir_exp@/pcscd --hotplug
Environment=PCSCD_ARGS=
EnvironmentFile=-@sysconfdir@/default/pcscd

[Install]
Expand Down

0 comments on commit 23a011d

Please sign in to comment.