Difference between revisions of "Talk:PeerGuardian Linux"

From ArchWiki
Jump to: navigation, search
(Peerguardian (pgl) startup hangs on a headless server)
 
(elegant solution to handle dbus absence)
Line 1: Line 1:
 +
 +
== Running pgl without dbus ==
 +
 
On systems not running dbus, "systemctl start pgl" hangs. The following change, in a copy of the default pgl.service file, solves this:
 
On systems not running dbus, "systemctl start pgl" hangs. The following change, in a copy of the default pgl.service file, solves this:
[Service]
+
{{bc|<nowiki>[Service]
BusName=
+
BusName=</nowiki>}}
  
 
[[User:Willemw|Willemw]] ([[User talk:Willemw|talk]]) 14:30, 28 March 2013 (UTC)
 
[[User:Willemw|Willemw]] ([[User talk:Willemw|talk]]) 14:30, 28 March 2013 (UTC)
 +
 +
Duplicating whole service files in /etc is not recommended since one cannot benefit from changes brought to /usr when updating a package.
 +
A more elegant solution (offered since systemd 198) is to "extend" the unit file by creating the following folder and file:
 +
{{hc|/etc/systemd/systemd/pgl.service.d/dbus.conf|
 +
<nowiki>[Service]
 +
BusName=</nowiki>}}
 +
--[[User:Gilrain|Gilrain]] ([[User talk:Gilrain|talk]]) 14:48, 28 March 2013 (UTC)

Revision as of 14:48, 28 March 2013

Running pgl without dbus

On systems not running dbus, "systemctl start pgl" hangs. The following change, in a copy of the default pgl.service file, solves this:

[Service]
BusName=

Willemw (talk) 14:30, 28 March 2013 (UTC)

Duplicating whole service files in /etc is not recommended since one cannot benefit from changes brought to /usr when updating a package. A more elegant solution (offered since systemd 198) is to "extend" the unit file by creating the following folder and file:

/etc/systemd/systemd/pgl.service.d/dbus.conf
[Service]
BusName=

--Gilrain (talk) 14:48, 28 March 2013 (UTC)