-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdaemon.template
More file actions
28 lines (23 loc) · 791 Bytes
/
daemon.template
File metadata and controls
28 lines (23 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# =========================================================================
# ⚠ DO NOT EDIT THIS FILE! ⚠
# This file is automatically managed by the script. Any manual changes
# will be overwritten during the next update or daemon sync process.
# =========================================================================
[Unit]
Description=Arch Smart Update Background Checker
After=graphical-session.target
[Service]
Type=oneshot
Environment="DISPLAY=:0"
Environment="DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus"
ExecStart=__SCRIPT_PATH__ --daemon
IOSchedulingClass=idle
CPUSchedulingPolicy=idle
[TimerTemplate]
[Unit]
Description=Check for Arch updates every __CHECK_INTERVAL__
[Timer]
OnActiveSec=__START_DELAY__
OnUnitActiveSec=__CHECK_INTERVAL__
[Install]
WantedBy=timers.target