Merge pull request 'Change shebang' (#1) from NotSam/pleroma-tools:master into master

Reviewed-on: #1
lgtm
master
grumbulon 1 year ago
commit b280b5f4dc
  1. 2
      README.md
  2. 2
      fce-backup/backup.py

@ -20,7 +20,7 @@ source .venv/bin/activate
* While the venv is active run the script as the postgres user (or whichever user has db ownership)
`sudo -Hu postgres python3 main.py -p /path/to/backup/dir`
`sudo -Hu postgres python3 backup.py -p /path/to/backup/dir`
### Params
`-p --path`

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import subprocess
import argparse
import shutil

Loading…
Cancel
Save