Files
photobooth/tools/db/photobooth-db.service
HayemR 100e5c3a87
Deploy photobooth / deploy (push) Has been cancelled
database integration
2026-05-26 09:07:16 +07:00

15 lines
336 B
Desktop File

[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