-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for installing systemd unit files
This patch adds a standard --with-systemdsystemunitdir configure option that: * without explicit options it does nothing with the unit file * if --with-systemdsystemunitdir is specified without arguments, it tries to autodetect the path using pkg-config * if --without-systemdsystemunitdir is specified, it does nothing * if --with-systemdsystemunitdir is specified with an argument, it uses that directory to install the unit file into Signed-off-by: Dave Reisner <[email protected]> Signed-off-by: Balazs Scheidler <[email protected]>
- Loading branch information
Showing
3 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=System Logger Daemon | ||
|
||
[Service] | ||
Sockets=syslog.socket | ||
ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service | ||
ExecStart=/usr/sbin/syslog-ng -F | ||
ExecReload=/bin/kill -HUP $MAINPID | ||
|
||
[Install] | ||
WantedBy=multi-user.target |