22317: Replace compute image base.sh with an Ansible playbook
[arvados.git] / tools / compute-images / ansible / roles / compute_encrypt_tmp / files / arvados-ensure-encrypted-partitions.service
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 [Unit]
6 Description=Ensure Arvados compute work directories are encrypted
7 Before=docker.service
8 Before=docker.socket
9 Before=ssh.service
10
11 [Install]
12 WantedBy=docker.service
13 WantedBy=docker.socket
14 WantedBy=ssh.service
15
16 [Service]
17 Type=oneshot
18 RemainAfterExit=true
19 ExecStart=/usr/local/sbin/ensure-encrypted-partitions.sh