mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/694
Author: @simons-public
Created: 5/26/2020
Status: 🔄 Open
Base:
master← Head:systemd-services📝 Commits (9)
591f1bfadd systemd servicese413c46change pathsd697db6use a single/var/lib/barrierdirectory25a3a86fix typos6deee4cuse absolute paths for for earlier versions of systemda3ba518change Type from exec to simple95ffe58run mkdir with full privileges368f0d7use snap paths if building with snapcraft35ac344use StateDirectory instead of mkdir📊 Changes
4 files changed (+163 additions, -0 deletions)
View changed files
📝
CMakeLists.txt(+9 -0)➕
dist/systemd/barrierc@.service.in(+59 -0)➕
dist/systemd/barriers.service.in(+41 -0)➕
dist/systemd/barriers@.service.in(+54 -0)📄 Description
This pull request adds 3 systemd services:
barriers.service- Starts the Barrier server with defaultsbarriers@.service- Can be used to start a Barrier server instance on another portbarrierc@.service- Used to start Barrier client instanceThe server service will create a
Barrier.pemself-signed certificate on first run (all other certificate generation in Barrier happens in the GUI). The server instance (with the @) allows starting with a specific listening port withsystemctl start barriers@:<port>' or a specific listening IP/port withsystemctl start barriers@:`.The client service will create a 'TrustedServers.txt' with the specified host on first run. It is started as an instance with
systemctl start barrierc@<hostname>or enabled withsystemctl enable barrierc@<hostname>. The port can also be specified (i.e.barrierc@<hostname>:<port>).Since these are for using barrier system-wide via systemd, the configuration file specified is
/etc/barrier.confand the data is stored in/var/db/barrier*instead of/root/.local/share/barrier.They are installed with CMake in
/usr/lib/systemd/systemso they can be overridden and customized by creating a copy placed in/etc/systemd/system/.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.