chore: improve justfiles
This commit is contained in:
14
systemd/recurring-tasks/grafana-hot-backup.service
Normal file
14
systemd/recurring-tasks/grafana-hot-backup.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Backup Syncthing - Hot
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=homeassistant-backup --mode hot --sourceFolder /etc/grafana --targetFolder /mnt/usb/grafana/hot --backupName grafana
|
||||
WorkingDirectory=/etc/grafana
|
||||
Restart=off
|
||||
User=willem
|
||||
Environment=PATH=/usr/bin:/usr/local/bin
|
||||
Environment=NODE_ENV=production
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user