set user of kojikamid service to Administrator

This commit is contained in:
Yuming Zhu 2025-05-15 16:21:53 +00:00
parent c057c290d0
commit cdf14ac781

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'],