Simplified timer + update install instructions

This commit is contained in:
mrhanky
2017-08-22 20:31:18 +02:00
parent f8ffd95184
commit f715107873
3 changed files with 1 additions and 7 deletions

View File

@ -3,5 +3,4 @@ Description=nxy database dump timer
[Service]
Type=oneshot
WorkingDirectory=/home/nxy/backups
ExecStart=/bin/sh -c "/usr/bin/pg_dump -d nxy_prod > $(date +%Y-%m-%d_%H-%M-%S).sql"
ExecStart=/bin/sh -c "/usr/bin/pg_dump -d nxy_prod > dump.sql"