commit | 3cb685715e05351029a55198d93d55203d0228d0 | [log] [tgz] |
---|---|---|
author | Scott French <swfrench@wikimedia.org> | Fri Jan 26 10:55:00 2024 -0800 |
committer | Scott French <swfrench@wikimedia.org> | Fri Jan 26 10:58:18 2024 -0800 |
tree | 10388826e64beb0e4402971eba43946515d937d1 | |
parent | 60077831078340871230fb7da12d2c5a5283abd1 [diff] |
Ensure ssh-agent services are also enabled Previously, start_systemd only started the service for the associated env, rather than also enabling it. This patch ensures that the service is both enabled and started, and is also an opportunity to simplify a bit (only issue a single command). Compatibility note: The --now flag was added in systemd 220 (2015). Change-Id: Ic1288635e4ed7f79f93dd6beea5b015f45bc828b