1
0
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:
Игорь Чудов 2019-12-20 19:08:48 +04:00
parent 5df6f1843a
commit a3245524ad
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

15
gpupdate-user.service Normal file
View 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