FS#33932 - systemd service command-lines lost on every single package update.
Attached to Project:
Arch Linux
Opened by James (shirokuma) - Tuesday, 19 February 2013, 11:10 GMT
Last edited by Allan McRae (Allan) - Tuesday, 19 February 2013, 13:24 GMT
Opened by James (shirokuma) - Tuesday, 19 February 2013, 11:10 GMT
Last edited by Allan McRae (Allan) - Tuesday, 19 February 2013, 13:24 GMT
|
Details
Service command-line options are lost on *every single
package update* and have to be restored. This makes
pacman+systemd in its current state very frustrating.
For example by default spamassassin is configured very badly and the only way to fix it is via the command line. So I change: /usr/lib/systemd/system/spamassassin.service I have to add "--socketpath=/var/lib/spamassassin/socket" to "ExecStart". Now every time I upgrade spamassasin it overwrites my service file and I am forced to make the exact same change. IMO the service files should be subject to the "pacnew/pacsave" style backups. I tried to find information about how I could edit the list of directories considered for backup using this mechanism but the information was not forthcoming. |
This task depends upon
.include /usr/lib/systemd/system/spamassassin.service
and the vars you want changed.
NOTABUG
Sounds like a lot of hassle compared to the old system of using /etc/conf.d
The more I use systemd the less I like it.
Will try that.