distribution: set CACHE_DIRECTORY in the .service file
systemd >= 240 sets this variable to `/var/cache/` + the value of CacheDirectory. osbuild-composer must run on earlier versions though (specifically RHEL 8.2).
This commit is contained in:
parent
9dafb3337b
commit
cdcb6c2f84
1 changed files with 3 additions and 0 deletions
|
|
@ -13,5 +13,8 @@ WorkingDirectory=/usr/libexec/osbuild-composer/
|
|||
User=_osbuild-composer
|
||||
Restart=on-failure
|
||||
|
||||
# systemd >= 240 sets this, but osbuild-composer runs on earlier versions
|
||||
Environment="CACHE_DIRECTORY=/var/cache/osbuild-composer"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue