PR#4389: set user of kojikamid service to Administrator

Merges #4389
https://pagure.io/koji/pull-request/4389

Fixes: #4390
https://pagure.io/koji/issue/4390
kojikamid service created by cygrunsrv isn't owned by Administrator
This commit is contained in:
Tomas Kopecek 2025-05-19 09:40:27 +02:00
commit 2a7585bc99

View file

@ -756,6 +756,7 @@ def main():
if opts.install:
ret, output = run(['/bin/cygrunsrv', '--install', prog,
'--path', sys.executable, '--args', os.path.abspath(prog),
'--user', 'Administrator',
'--type', 'auto', '--dep', 'Dhcp',
'--disp', 'Koji Windows Daemon',
'--desc', 'Runs Koji tasks assigned to a VM'],