This repository was archived by the owner on May 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,31 @@ account = myclient1234
122122token_path = /etc/osg/tokens/myclient1234.mytoken567.token
123123```
124124
125+ ### Adjusting token renewal frequency
126+
127+ It is possible to override the default ` osg-token-renewer ` systemd timer
128+ frequency for this service by creating a config override file under
129+ ` /etc/systemd/system/osg-token-renewer.timer.d/ ` .
130+
131+ For example, to configure the token renewal service to run every 10 minutes,
132+ run the following:
133+
134+ ``` console
135+ root@host # cat << EOF > /etc/systemd/system/osg-token-renewer.timer.d/timer-frequency.conf
136+ [Timer]
137+ OnBootSec=10min
138+ OnUnitActiveSec=10min
139+ EOF
140+ root@host # systemctl daemon-reload
141+ ```
142+
143+ !!! note
144+ Be aware that the default timer configuration also has a 3 minute random
145+ delay built in, via the parameter ` RandomizedDelaySec=3min ` .
146+ Thus setting the frequency to ` 10min ` only guarantees runs every 13 minutes.
147+ This parameter is also configurable in the above systemd override file.
148+
149+
125150Managing the OSG Token Renewal Service
126151--------------------------------------
127152
You can’t perform that action at this time.
0 commit comments