FS#70480 - [barrier-headless] Systemd service files missing

Attached to Project: Community Packages
Opened by jozef riha (jose1711) - Friday, 16 April 2021, 20:54 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since synergy package also includes systemd's service file it would be great if barrier includes one too

Additional info:
* barrier-headless 2.3.3-1
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/barrier/issues/1
Comment by jozef riha (jose1711) - Sunday, 09 May 2021, 21:45 GMT
Here's a quick&dirty suggestion for both server and client:

/usr/lib/systemd/user/barriers@.service
[Unit]
Description=Barrier Server Daemon
After=network.target,graphical-session.target

[Service]
ExecStart=/usr/bin/barriers --no-daemon -c %h/.local/share/barrier/.barrier.conf
Restart=on-failure

[Install]
WantedBy=default.target

/usr/lib/systemd/user/barrierc@.service
[Unit]
Description=Barrier Client Daemon
After=network.target

[Service]
ExecStart=/usr/bin/barrierc --no-daemon %i
Restart=on-failure

[Install]
WantedBy=default.target

User would then start the server using:
systemctl --user start barriers@$(id -un).service

And client using:
systemctl --user start barrierc@SERVER_HOSTNAME.service
Comment by Morten Linderud (Foxboron) - Sunday, 09 May 2021, 21:52 GMT Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...