Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use --is-registered as systemd service start condition #167

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions debian/landscape-client.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ WantedBy=multi-user.target
[Service]
Type=simple
Group=landscape
ExecCondition=/usr/bin/landscape-config --is-registered
ExecStart=/usr/bin/landscape-client
# Don't kill cgroup as child dpkg may restart the service during an upgrade.
KillMode=process
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ override_dh_auto_install:
install -D -o root -g root -m 755 apt-update/apt-update $(CURDIR)/$(root_dir)$(LIBDIR)/apt-update

override_dh_installsystemd:
dh_installsystemd --no-enable --no-start --no-stop-on-upgrade
dh_installsystemd
Loading