| 1 | # System-unit met User=bluegit, config in /etc/bluegit/config.yml en |
| 2 | # state in /var/lib/bluegit. Dit is geen systemd --user-unit. |
| 3 | # backup= in de PKGBUILD laat een bestaande config.yml staan. |
| 4 | |
| 5 | post_install() { |
| 6 | systemd-sysusers bluegit.conf || true |
| 7 | systemd-tmpfiles --create bluegit.conf || true |
| 8 | systemctl daemon-reload || true |
| 9 | } |
| 10 | |
| 11 | post_upgrade() { |
| 12 | post_install |
| 13 | } |
| 14 | |
| 15 | post_remove() { |
| 16 | systemctl daemon-reload || true |
| 17 | } |