Story #9958

login-sync config file & systemd unit

Added by Peter Amstutz over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

History

#1 Updated by Peter Amstutz over 2 years ago

  • Tracker changed from Bug to Story

#2 Updated by Tom Clegg over 2 years ago

arvados-login-sync expects to run as a cron job (install guide recommends running every 2 minutes). Suggest using a systemd timer file for this.

https://www.freedesktop.org/software/systemd/man/systemd.timer.html

Long term it will make more sense for login-sync to listen for relevant events on websocket and sync whenever keys/users/groups change. If the timer behavior is done with systemd instead of cron, when the time comes it should be easy to switch to a long-running service model just by upgrading the package, without manual intervention.

#3 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF