diff --git a/systemd/user/snapcast.service b/systemd/user/snapcast.service new file mode 100644 index 0000000..6caea16 --- /dev/null +++ b/systemd/user/snapcast.service @@ -0,0 +1,13 @@ +[Unit] +Description=Snapcast +After=pipewire.service +Requires=pipewire.service + +[Install] +WantedBy=default.target + +[Service] +Type=oneshot +RemainAfterExit=true +ExecStart=%h/git/audio/snapcast/bin/snapclient +ExecStop=killall -q snapclient \ No newline at end of file