Danny Bessems
c9a8598a35
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
228 B
Django/Jinja
11 lines
228 B
Django/Jinja
#!/bin/bash
|
|
|
|
# Change working directory
|
|
popd {{ _template.service.workingdir }}
|
|
|
|
# Compress *.tar files
|
|
if tar -czf image-tarballs.tgz *.tar; then
|
|
# Disable systemd unit
|
|
systemctl disable {{ _template.service.name }}
|
|
fi
|