pulseaudio-dlna-service/install.sh
2022-03-14 22:06:45 +01:00

13 lines
338 B
Bash
Executable File

#!/usr/bin/env bash
echo "Copying Systemd units to user's directory..."
cp $(dirname "$0")/pulseaudio-dlna.service $HOME/.config/systemd/user/
echo "Reloading Systemd's user runtime..."
systemctl --user daemon-reload
echo "Enabling service..."
systemctl --user enable pulseaudio-dlna.service
echo "Finished install. Exiting..."
exit 0