service: make sure the worker pulls in the socket
The worker cannot be started unless the socket is available, so make this a hard requirement. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
ef6fbe2a25
commit
df73a9bfad
2 changed files with 1 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -22,8 +22,6 @@ install:
|
|||
cp distribution/*.service /etc/systemd/system/
|
||||
cp distribution/*.socket /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
systemctl enable osbuild-composer.socket
|
||||
systemctl enable osbuild-worker@1.service
|
||||
|
||||
tarball:
|
||||
git archive --prefix=$(PACKAGE_NAME)-$(VERSION)/ --format=tar.gz HEAD > $(PACKAGE_NAME)-$(VERSION).tar.gz
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
[Unit]
|
||||
Description=OSBuild Composer Worker (%i)
|
||||
Requires=osbuild-composer.socket
|
||||
After=multi-user.target osbuild-composer.socket
|
||||
|
||||
[Service]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue