mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #29] Barriers works stand-alone, but when ran as systemd user unit, fails to start. #19
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#19
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?
Originally created by @AdrianKoshka on GitHub (Apr 21, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/29
Operating Systems
Server: Linux
Client: Linux
Server linux version: Fedora 27
Client linux version: Debian stretch
Barrier Version
barriers 2.0.0-RELEASE, protocol version 1.6
Steps to reproduce bug
~/.config/systemd/user/barriers@.service1.5. supply your own config
2. run
systemctl --user daemon-reload3. run
systemctl --user start barriers@::1.service4. it will fail with
(code=exited, status=4)when checkingsystemctl --user status barriers@::1.serivceOther info
If I run
barriersstand-alone, outside of a systemd user unit, it just works. Also unrelated to this issue, butbarrierchappily runs as a systemd user unit.@AdrianKoshka commented on GitHub (Apr 21, 2018):
False alarm...
desktops.confis supopsed to bedesktops.configfrom my old synergy config, solved this myself.@ghost commented on GitHub (Jun 7, 2018):
@AdrianKoshka Thanks for that service file! Can you tell me what that
alc.targetis? I can't find anything about. Also what is the reason to use--no-restartand--no-daemonflag?@AdrianKoshka commented on GitHub (Jun 7, 2018):
Oh,
alc.targetis a custom systemd target I wrote. the--no-restartflag means barrier won't try to restart itself, and the--no-daemonflag means it won't fork itself into the background.@AdrianKoshka commented on GitHub (Jun 7, 2018):
@glumanda99 if you're interested, all my unit files are in this repo: https://github.com/adriankoshka/config
@AdrianKoshka commented on GitHub (Jun 7, 2018):
Here's the documentation for how I have barrier seutp: https://github.com/AdrianKoshka/config/wiki/My-barrier-setup
@ghost commented on GitHub (Jun 7, 2018):
@AdrianKoshka Thanks for your fast response and detailed descriptions! It works great and was one of the reasons I switched to barrier as the 1.8 branch of synergy won't fix running it from systemd service.