Skip to content

Commit d4473e4

Browse files
fix(addpost): postprune image systemd service
1 parent 0d1b58a commit d4473e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

infra/osmsg.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ WorkingDirectory=/opt/osmsg/infra
1212
EnvironmentFile=/opt/osmsg/infra/.env
1313
ExecStartPre=/usr/bin/docker compose pull
1414
ExecStart=/usr/bin/docker compose up -d --remove-orphans
15+
ExecStartPost=-/usr/bin/docker image prune -f
1516
ExecStop=/usr/bin/docker compose down
1617
TimeoutStartSec=300
1718
TimeoutStopSec=60

0 commit comments

Comments
 (0)