diff --git a/README.md b/README.md index a40d001..2441369 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,26 @@ Install the Firefox extension (from within Firefox) and companion bridge applica On Linux platforms, it may be necessary to [configure local hostname resolution](https://wiki.archlinux.org/index.php/avahi#Hostname_resolution). +### Installing as a systemd deamon + +1. Create fx_cast user: `sudo useradd --system fx_cast` +2. Create service file in /etc/systemd/fx_cast.service: +``` +[Unit] + +Description=fx_cast daemon + +[Service] + +User=fx_cast +ExecStart=/opt/fx_cast/fx_cast_bridge -d +Restart=always + +[Install] +WantedBy=multi-user.target +``` +3. Enable the service: `sudo systemd enable fx_cast` + ### Package managers * #### Arch Linux (AUR) - https://aur.archlinux.org/packages/fx_cast/ ````sh