Add systemd service, timer, and socket files
All checks were successful
Deploy to Server / deploy (push) Successful in 12s
All checks were successful
Deploy to Server / deploy (push) Successful in 12s
This commit is contained in:
parent
ff70afa6c3
commit
08dbefa417
4 changed files with 57 additions and 0 deletions
10
tools/systemd/feedvault-backup.service
Normal file
10
tools/systemd/feedvault-backup.service
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=FeedVault database backup
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=feedvault
|
||||
Group=feedvault
|
||||
WorkingDirectory=/home/feedvault/feedvault
|
||||
EnvironmentFile=/home/feedvault/feedvault/.env
|
||||
ExecStart=/usr/bin/uv run python manage.py backup_db
|
||||
Loading…
Add table
Add a link
Reference in a new issue