database integration
Deploy photobooth / deploy (push) Has been cancelled

This commit is contained in:
HayemR committed 2026-05-26 09:07:16 +07:00
1 parent a90b3a85a2
commit 100e5c3a87
18 files changed
+1068 -108

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=Photobooth database setup
After=network-online.target mysql.service
Wants=network-online.target
ConditionPathExists=!/var/lib/photobooth/db-setup.done
[Service]
Type=oneshot
EnvironmentFile=/etc/photobooth-db.env
ExecStart=/usr/local/bin/photobooth-db-setup
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target