Arch Linux D package update

Dicebot via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 11 23:26:10 PDT 2015


On Thursday, 11 June 2015 at 20:13:51 UTC, Marco Leise wrote:
> Am Thu, 04 Jun 2015 14:46:38 +0000
> schrieb "Dicebot" <public at dicebot.lv>:
>
>>      - provides systemd service : `sudo systemctl enable 
>> dcd.service` to start automatically upon system startup
>
> Is it really a system-wide server? I can see how it might be
> technically necessary due to how systemd works and how you
> would need to pass a different IP port for every user.
> On the other hand, every user can add imports at runtime and
> shut the server down. They might even have to, if they want to
> switch projects and clean up the import path list.

I will look into making it user-local service 
(https://wiki.archlinux.org/index.php/Systemd/User), that is 
simply I currently don't know much about and didn't want to delay 
update much longer.

>>      - provides default /etc/dcd.conf with stdlib paths for 
>> Arch Linux
>
> Should work so long noone gives root a XDG_CONFIG_HOME or
> writes to /root/.config/dcd/dcd.conf. Just contemplating if
> when running as system wide service it should generally read
> from /etc/[dcd/]dcd.conf instead of user directories. Maybe
> via a --system option to dcd-server.
>
> https://github.com/Hackerpilot/DCD/blob/master/src/server.d#L248

Ideally I think it should merge them all into one path list but 
simply using global config a fallback worked good enough for now.


More information about the Digitalmars-d-announce mailing list