~linuxgoose/bocpress

ref: 5204e11e63274f2b2f18a72cc43925cfc58d32ed bocpress/ansible/mataroa-backup.service.j2 -rw-r--r-- 238 bytes
5204e11eJordan Robinson fix user update form to account for allow_docs_user env variable 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Backup mataroa database

[Service]
Type=oneshot
User=deploy
WorkingDirectory=/home/deploy
Environment="PGPASSWORD={{ postgres_password }}"
ExecStart=/home/deploy/backup-database.sh

[Install]
WantedBy=multi-user.target