Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Commit ef36901

Browse files
committed
doco how to modify the osg-token-renewer timer frequency (SOFTWARE-5156)
1 parent 07ae815 commit ef36901

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

docs/other/osg-token-renewer.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,24 @@ account = myclient1234
122122
token_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+
125143
Managing the OSG Token Renewal Service
126144
--------------------------------------
127145

0 commit comments

Comments
 (0)