summaryrefslogtreecommitdiffstats
path: root/share/systemd/container-auto.service
blob: 50f8ac639c965ef697019c90a180212c0d2099a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Open Infrastructure: compute-tools

[Unit]
Description=compute-tools automatic start and stop
Documentation=man:container-auto
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/container auto --start
ExecStop=/usr/bin/container auto --stop
Delegate=yes
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target