diff options
| author | Mica White <botahamec@outlook.com> | 2026-03-30 20:53:47 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-03-30 20:53:47 -0400 |
| commit | 0e82b20e196206d020f2111da4b3cce4d8682e42 (patch) | |
| tree | 464929288e0ed5fcadf1d01805b98d0b783997ff | |
| parent | da6cb19c293c4998a5d8152b3660dc5e8d3b26e0 (diff) | |
Add install section to systemd unit
| -rw-r--r-- | git-autosave.service | 5 | ||||
| -rw-r--r-- | src/lib.rs | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/git-autosave.service b/git-autosave.service index 1db88d8..926859f 100644 --- a/git-autosave.service +++ b/git-autosave.service @@ -1,5 +1,5 @@ [Unit] -Description=Autosave git repositories +Description=git-autosave After=network.target [Service] @@ -8,3 +8,6 @@ SyslogIdentifier=git-autosave Restart=always ExecStart=/usr/bin/git autosave-daemon + +[Install] +WantedBy=default.target @@ -28,7 +28,6 @@ */ use std::collections::{HashMap, HashSet}; -use std::fs::Metadata; use std::path::{Path, PathBuf}; use confy::ConfyError; |
