mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-16 06:50:27 +03:00
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.
17 lines
286 B
Desktop File
17 lines
286 B
Desktop File
[Unit]
|
|
Description=gpupdate in userspace
|
|
#Requires=basic.target
|
|
|
|
# gpupdate on Windows runs once per hour
|
|
[Service]
|
|
Environment="PATH=/bin:/sbin:/usr/bin:/usr/sbin"
|
|
Type=notify
|
|
WatchdogSec=3600
|
|
TimeoutSec=3000
|
|
Restart=always
|
|
ExecStart=/usr/sbin/gpoa
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|