Removes the daemon service configuration. # Errors Returns `LearnerdErrors` if service file removal fails.
()
| 85 | /// |
| 86 | /// Returns `LearnerdErrors` if service file removal fails. |
| 87 | pub fn uninstall_system_daemon() -> Result<()> { |
| 88 | Ok(fs::remove_file("/etc/systemd/system/learnerd.service")?) |
| 89 | } |
| 90 | |
| 91 | /// Displays post-installation instructions and helpful commands. |
| 92 | /// |