Import deployment configuration: app/deploy/systemd/teknav-backup.service
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Backup Teknav PostgreSQL database
|
||||||
|
After=postgresql.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
User=teknav
|
||||||
|
Group=teknav
|
||||||
|
EnvironmentFile=/etc/teknav/backend.env
|
||||||
|
ExecStart=/opt/teknav/current/scripts/systemd-backup.sh
|
||||||
|
Nice=10
|
||||||
|
IOSchedulingClass=best-effort
|
||||||
|
IOSchedulingPriority=7
|
||||||
Reference in New Issue
Block a user