Jafner.net/archive/pamidi/install_daemon_systemd.sh
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

15 lines
353 B
Bash
Executable File

#!/bin/bash
echo "Installing script..."
chmod +x pamidi.sh
sudo cp pamidi.sh /usr/bin/pamidi
echo "Installing daemon..."
mkdir -p ~/.config/systemd/user/
cp pamidi.service ~/.config/systemd/user/
echo "Enabling systemd daemon..."
systemctl --user daemon-reload
systemctl --user enable pamidi.service
systemctl --user start pamidi.service
echo "Done!"