Commit Graph

210 Commits

Author SHA1 Message Date
Erik Westrup
289016f8ea No need to write perm on scripts 2022-02-11 21:46:56 +01:00
Erik Westrup
0c43f93901 Modified: CHANGELOG.md v5.1.0 2022-02-11 20:45:49 +01:00
Erik Westrup
2a287910cb Allow override INSTALL_PREFIX on make cli 2022-02-11 20:34:33 +01:00
Erik Westrup
5f3ebd5b9d resticw: fix install prefix 2022-02-11 10:27:35 +01:00
Erik Westrup
8111a5f663 Bash is dependency 2022-02-10 10:58:41 +01:00
Erik Westrup
ae900a3834 Merge pull request #75 from gerardbosch/patch-1 2022-02-09 18:47:21 +01:00
Gerard Bosch
1db2395353 Minor typos 2022-02-09 18:41:20 +01:00
Erik Westrup
59899f5683 Merge pull request #74 from erikw/launchagent
Add macOS launchagent support
2022-02-09 17:25:31 +01:00
Erik Westrup
4cae1ca2f0 Update CHANGELOG.md
Fixes #51
2022-02-09 17:23:09 +01:00
Erik Westrup
caf95ef393 Add make target to activate launchagent 2022-02-09 17:16:18 +01:00
Erik Westrup
99b0bf5ac5 Modified: README.md 2022-02-09 16:29:14 +01:00
Erik Westrup
d20954b9f4 Modified: README.md 2022-02-09 15:58:26 +01:00
Erik Westrup
991476715a install instructions 2022-02-09 15:56:37 +01:00
Erik Westrup
c4429681d8 Modified: Library/LaunchAgents/com.github.erikw.restic-automatic-backup.plist 2022-02-09 15:49:25 +01:00
Erik Westrup
f073f10ddf Modified: Library/LaunchAgents/com.github.erikw.restic-automatic-backup.plist 2022-02-09 15:47:04 +01:00
Erik Westrup
a28160371c Fix log path 2022-02-09 15:45:49 +01:00
Erik Westrup
1977b3c67f Add OS icons 2022-02-09 15:31:42 +01:00
Erik Westrup
9412a8750c trim 2022-02-09 15:08:57 +01:00
Erik Westrup
d38616d697 Path working 2022-02-09 14:58:31 +01:00
Erik Westrup
c8ab0b4421 iterate 2022-02-09 14:04:07 +01:00
Erik Westrup
c1c25d718c schedule 2022-02-09 13:32:25 +01:00
Erik Westrup
f7f69a0142 instructions 2022-02-09 13:32:19 +01:00
Erik Westrup
2f4f48a59b Modified: CHANGELOG.md 2022-02-09 13:09:10 +01:00
Erik Westrup
e9d77d0a31 Surpress mkdir 2022-02-09 13:08:12 +01:00
Erik Westrup
bd3123bef4 Modified: Makefile 2022-02-09 13:08:12 +01:00
Erik Westrup
ddd2233c58 Install LaunchAgent in user Library 2022-02-09 13:08:12 +01:00
Erik Westrup
7973eedae4 Modified: Makefile 2022-02-09 13:08:12 +01:00
Erik Westrup
db26c4e517 Launch instructions 2022-02-09 13:08:12 +01:00
Erik Westrup
193bf926cf PoC souce files 2022-02-09 13:08:12 +01:00
Erik Westrup
8ea1d70a15 Merge pull request #72 from gerardbosch/patch-1
Update comment
2022-02-09 13:07:38 +01:00
Gerard Bosch
8eb7d56fdd Update comment 2022-02-09 12:59:54 +01:00
Erik Westrup
03d9399686 Merge pull request #71 from gerardbosch/fix/resticw-arguments
Fix resticw arguments line
2022-02-08 18:57:42 +01:00
Gerard Bosch
59da5da0da Fix resticw arguments line
It needs to be treated as an array so that complex commands like
`stats latest` work.
2022-02-08 18:51:20 +01:00
Erik Westrup
7a1409ca03 Allow users to execute scripts 2022-02-08 18:20:49 +01:00
Erik Westrup
b5dcce5d2a Adjust comment 2022-02-08 17:58:46 +01:00
Erik Westrup
e0139ff9c8 Address linter issues v5.0.0 2022-02-08 17:33:24 +01:00
Erik Westrup
78f5cb7b62 Modified: CHANGELOG.md 2022-02-08 17:27:22 +01:00
Erik Westrup
ab928d0dfd Rename *.env files to *.env.sh
Fixes #66
2022-02-08 17:26:08 +01:00
Erik Westrup
27d757fc29 Merge pull request #65 from erikw/fix/49
Truly support custom `PREFIX=` install
2022-02-08 17:17:25 +01:00
Erik Westrup
6c1d182e21 Only sleep in service if other restic running 2022-02-08 17:13:26 +01:00
Erik Westrup
e688499838 Surpress mkdir in make install 2022-02-08 16:49:10 +01:00
Gerard Bosch
2dbd618344 Fix README: Enabling/starting systemd unit (#69)
systemctl start restic-backup@default.timer was failing with the following message:

```console
❯ sudo systemctl start restic-backup@default.timer
Failed to start restic-backup@default.timer: Unit nm-unmetered-connection.service failed to load properly, please adjust/correct and reload service manager: Device or resource busy
See system logs and 'systemctl status restic-backup@default.timer' for details.
```

and by doing `systemctl daemon-reload` before that command solved the issue.

But according to `man systemd` in order to avoid this, it seems that `enable` command must be issued before `start`, as it reloads the system manager configuration (in a way equivalent to daemon-reload). So, once properly sorted, it seems that both commands can be fused into a single `enable --now` command :)
2022-02-08 16:43:30 +01:00
Gerard Bosch
b4684d3cfb Fix README: Backup frequency (#68) 2022-02-08 13:01:32 +01:00
Erik Westrup
645df1a0d4 Move /sbin to /bin
As more users would have /bin than /sbin in their PATH
2022-02-07 18:22:36 +01:00
Erik Westrup
54e2d17e23 Modified: CHANGELOG.md Makefile 2022-02-06 15:28:56 +01:00
Erik Westrup
0fc7c29c2f Push image down 2022-02-06 15:26:43 +01:00
Erik Westrup
a57971e27e Add navigation tip 2022-02-06 15:25:45 +01:00
Erik Westrup
eb6e7b4a8d Begin structure README after system setup 2022-02-06 15:16:19 +01:00
Erik Westrup
c01bb5a00e Fix broken help target 2022-02-06 15:10:31 +01:00
Erik Westrup
8db3d27174 Rename top-level install targets
"make install" -> "make install-systemd"
so that I could now add a
""make install-cron"
target.

Soon there will be
"make install-macos"
"make install-windows"

Thus it does not make sense to have a general `make install` anymore.
2022-02-06 14:49:00 +01:00