mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 14:50:16 +03:00
Userspace systemd unit added
Please note that is must be enabled like: systemctl --user --global enable gpupdate-user.service
This commit is contained in:
parent
5df6f1843a
commit
a3245524ad
15
gpupdate-user.service
Normal file
15
gpupdate-user.service
Normal file
@ -0,0 +1,15 @@
|
||||
[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
|
||||
Restart=always
|
||||
ExecStart=/usr/lib/python3/site-packages/gpoa/main.py
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user