| 1 | # Open Infrastructure: compute-tools |
| 2 | |
| 3 | [Unit] |
| 4 | Description=compute-tools automatic start and stop |
| 5 | Documentation=man:container-auto |
| 6 | After=network.target |
| 7 | |
| 8 | [Service] |
| 9 | Type=oneshot |
| 10 | RemainAfterExit=yes |
| 11 | ExecStart=/usr/bin/container auto --start |
| 12 | ExecStop=/usr/bin/container auto --stop |
| 13 | Delegate=yes |
| 14 | StandardOutput=journal |
| 15 | StandardError=journal |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=multi-user.target |