1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 10:50:35 +03:00

Merge pull request #44 from altlinux/gpupdate_setup_fix

Correct systemctl run for global enable gpupdate-user.service
This commit is contained in:
Evgeny Sinelnikov 2020-04-21 14:13:10 +04:00 committed by GitHub
commit faa0265fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dist/gpupdate-setup vendored
View File

@ -183,7 +183,7 @@ def enable_gp(policy_name):
# Bootstrap the Group Policy engine
command('/usr/sbin/gpoa --nodomain')
# Enable gpupdate-setup.service for all users
command('systemctl --global --user enable gpupdate-user.service')
command('systemctl --global enable gpupdate-user.service')
def main():
arguments = parse_arguments()