FS#33858 - Make use of conf.d/sshguard within sshguard.service

Attached to Project: Community Packages
Opened by Marcel Huber (marcelhuberfoo) - Thursday, 14 February 2013, 11:48 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 14 February 2013, 21:28 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Unfortunately there is no use for /etc/conf.d/sshguard and its options when starting sshguard as a systemd service.
It would be easy to integrate with minimal changes to the service file:

/usr/lib/systemd/system/sshguard.service:
-ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
+EnvironmentFile=/etc/conf.d/sshguard
+ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db $SSHGUARD_ARGS


Additional info:
* package version(s): 1.5-10 (x86_64) but probably affects the i686 build too
* config and/or log files etc.


Steps to reproduce:
--
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 14 February 2013, 21:28 GMT
Reason for closing:  Won't implement
Comment by Sergej Pupykin (sergej) - Thursday, 14 February 2013, 21:28 GMT
It is arch policy. Copy .service into /etc and edit it.

Loading...