Improve systemd files

This commit is contained in:
2026-01-09 19:30:50 -05:00
parent 29bd64433b
commit 2e7e85b81c
2 changed files with 5 additions and 2 deletions

View File

@@ -7,5 +7,5 @@ ln -snf $PWD/systemd/aur_builder_image_gen.timer ~/.config/systemd/user/
systemctl --user daemon-reload systemctl --user daemon-reload
systemctl --user enable --now aur_builder_image_gen.timer systemctl --user enable --now aur_builder_image_gen.timer
loginctl enable-linger
``` ```

View File

@@ -4,4 +4,7 @@ Description=Build aur_builder image and push to gitea
[Service] [Service]
Type=oneshot Type=oneshot
WorkingDirectory=/home/balki/projects/mine/aur_builder WorkingDirectory=/home/balki/projects/mine/aur_builder
ExecStart=|podman build --pull=newer -t gitea.balki.me/balki/aur_builder:latest . && podman push gitea.balki.me/balki/aur_builder:latest
ExecStart=podman pull quay.io/archlinux/archlinux:base-devel
ExecStart=podman build -t gitea.balki.me/balki/aur_builder:latest .
ExecStart=podman push gitea.balki.me/balki/aur_builder:latest