mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Use correct variable in backup cron
This commit is contained in:
parent
e0fa223d3d
commit
709fa5d4f6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
""")
|
||||
|
|
Loading…
Add table
Reference in a new issue