FS#30053 - [GPM] native systemd service file

Attached to Project: Arch Linux
Opened by Ondřej Svoboda (lenoch) - Monday, 28 May 2012, 22:34 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 29 May 2012, 22:30 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Hi all,

now that I wrote a missing gpm.service file, my beloved Arch system now boots up using systemd exclusively. I also have a service that runs D-Bus for me before console sessions start up (which solves the user bus problem for me).

falconindy suggested not to mention EnvironmentFile= in it to let the user customize the service file himself/herself.

But why would I want to do it again? I already had to set GPM_ARGS="-m /dev/input/mice -t imps2" so that it works with my Dell D600 touchpad. Let us keep the configuration in one place - it is already in the core/gpm package.

Description=GPM daemon

ExecStart=/usr/sbin/gpm $GPM_ARGS

Can I ask a good soul to eventually submit this upstream?

Thanks and ping me if you would like the other service file (it is too custom, not generic at all), though I guess this is not the right place to advertise it.
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 29 May 2012, 22:30 GMT
Reason for closing:  Implemented
Additional comments about closing:  see last comment
Comment by Ondřej Svoboda (lenoch) - Monday, 28 May 2012, 22:58 GMT
Let me answer myself.

There will be no submitting upstream since the unit is quite Arch-specific because of /etc/conf.d location not found in all other distros.
Comment by Eric Belanger (Snowman) - Tuesday, 29 May 2012, 22:29 GMT
Following falconindy's advice in IRC, I added the following service file:

Description=GPM daemon