fix backup systemd unit
This commit is contained in:
parent
c0cf553e34
commit
f45103fc3f
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ Description=InvenTree borg backup
|
|||
[Service]
|
||||
Type=oneshot
|
||||
Environment="INVENTREE_DEPLOYMENT_DIR=/home/inventree/inventree-deployment"
|
||||
ExecStart=${INVENTREE_DEPLOYMENT_DIR}/scripts/backup.sh
|
||||
ExecStart=/usr/bin/env bash -c "${INVENTREE_DEPLOYMENT_DIR}/scripts/backup.sh"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue