mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-22 02:50:32 +03:00
Added TimeoutSec to systemd units
It is expected that systemd will start gpupdate every hour to update and apply Group Policies. TimeoutSec allows to ensure that gpupdate will not take more than 50 minutes to finish in order to allow new instance to be started.
This commit is contained in:
parent
6c64055d1f
commit
0e49856983
@ -7,6 +7,7 @@ Description=gpupdate in userspace
|
||||
Environment="PATH=/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
Type=notify
|
||||
WatchdogSec=3600
|
||||
TimeoutSec=3000
|
||||
Restart=always
|
||||
ExecStart=/usr/sbin/gpoa
|
||||
|
||||
|
@ -6,6 +6,7 @@ After=sssd.service
|
||||
Environment="PATH=/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
Type=notify
|
||||
WatchdogSec=3600
|
||||
TimeoutSec=3000
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/gpupdate
|
||||
StandardOutput=journal
|
||||
|
Loading…
x
Reference in New Issue
Block a user