Update to 2021-09-15 17:00

master
Daniel Berteaud 3 years ago
parent 7682858263
commit 2fde8eba21
  1. 1
      roles/pve/defaults/main.yml
  2. 1
      roles/pve/templates/vzdump.conf.j2
  3. 1
      roles/sftpgo/tasks/install.yml
  4. 2
      roles/sftpgo/templates/sftpgo.service.j2

@ -1,6 +1,5 @@
---
pve_dump_maxfiles: 2
pve_dump_storage: local
pve_mod_to_load:

@ -3,5 +3,4 @@ compress: 1
pigz: 1
mailnotification: failure
mailto: {{ system_admin_email }}
maxfiles: {{ pve_dump_maxfiles }}
storage: {{ pve_dump_storage }}

@ -45,6 +45,7 @@
- name: Install systemd unit
template: src=sftpgo.service.j2 dest=/etc/systemd/system/sftpgo.service
notify: restart sftpgo
register: sftpgo_unit
tags: sftpgo

@ -16,7 +16,7 @@ RestartSec=10s
PrivateTmp=true
PrivateDevices=yes
ProtectSystem=strict
ReadWritePaths={{ sftpgo_root_dir }}/etc/ {{ sftpgo_root_dir }}/data/
ReadWritePaths={{ sftpgo_root_dir }}/etc/ {{ sftpgo_root_dir }}/data/ {{ sftpgo_root_dir }}/tmp
ProtectHome=yes
NoNewPrivileges=yes
ProtectKernelModules=yes

Loading…
Cancel
Save