1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-16 06:50:27 +03:00
gpupdate/gpupdate-user.service
Igor Chudov 0e49856983
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.
2020-01-15 14:29:12 +04:00

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