Skip to content

Commit

Permalink
Fix WebODM backups
Browse files Browse the repository at this point in the history
  • Loading branch information
mojodna committed Sep 17, 2018
1 parent 821ee44 commit 9fbd8cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kickstart/etc/sudoers.d/posm-admin
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ postgres ALL=(root) NOPASSWD: /usr/sbin/service osm-cgimap start
{{user}} ALL=(osm) NOPASSWD: {{dst}}/posm-admin/scripts/osm_omk-osm.sh

{{user}} ALL=(postgres) NOPASSWD: {{dst}}/posm-admin/scripts/postgres_api-db-drop-create.sh

{{user}} ALL=(webodm) NOPASSWD: {{dst}}/posm-admin/scripts/webodm_backup.sh
3 changes: 3 additions & 0 deletions kickstart/scripts/webodm-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ $config
"apps": $new_apps
}
EOF

mkdir -p /opt/data/backups/webodm
chown webodm:webodm /opt/data/backups/webodm
}

deploy webodm

0 comments on commit 9fbd8cb

Please sign in to comment.