Explicitly set path of `install`

This commit is contained in:
niten 2022-06-19 11:59:31 -07:00
parent d52684ae6c
commit f68e5a2b17
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ in {
serviceConfig = {
ExecStart = "${pkgs.jre}/bin/java -jar ${pricebot-jar}";
ExecStartPre =
"/usr/bin/install --owner=%u --mode=400 -T ${cfg.mattermost-auth-token-file} %T/auth.token";
"${pkgs.coreutils-full}/bin/install --owner=%u --mode=400 -T ${cfg.mattermost-auth-token-file} %T/auth.token";
DynamicUser = true;
PrivateTmp = true;
PrivateDevices = true;