[fix] Use correct variable in backup cron

This commit is contained in:
ljf 2022-09-30 13:20:16 +02:00
parent e0fa223d3d
commit 709fa5d4f6
No known key found for this signature in database

View file

@ -902,7 +902,7 @@ class RestoreManager:
self.targets = BackupRestoreTargetsManager()
#
# Misc helpers #
# Misc helpers
#
@property
@ -1982,7 +1982,7 @@ After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/yunohost backup create -n '{name}' -r '{repo}' --system --apps ; /usr/bin/yunohost backup prune -n '{name}'
ExecStart=/usr/bin/yunohost backup create -n '{self.entity}' -r '{repo}' --system --apps ; /usr/bin/yunohost backup prune -n '{self.entity}'
User=root
Group=root
""")