blob: a754fb471fce5e8cf2b431afa34234e3c715cfbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=DistCC Podman Container
After=network.target
[Service]
Type=simple
TimeoutStartSec=5m
ExecStartPre=-/usr/bin/podman rm "distcc"
ExecStart=/usr/bin/podman run --name distcc -p 3632:3632 chsa/distcc:latest
ExecReload=-/usr/bin/podman stop "distcc"
ExecReload=-/usr/bin/podman rm "distcc"
ExecStop=-/usr/bin/podman stop "distcc"
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
|