-
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.
- Loading branch information
1 parent
2c5f652
commit db5ef98
Showing
20 changed files
with
358 additions
and
53 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
id = syslogd | ||
name = syslogd | ||
group = biz.nellemann.syslogd | ||
version = 1.3.6 | ||
version = 1.4.1 | ||
description = "Syslog Director" |
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,6 @@ | ||
#!/bin/sh | ||
|
||
service_name="syslogd" | ||
sysv_source="/opt/syslogd/doc/syslogd.sh" | ||
#config_source="/opt/syslogd/doc/syslogd.toml" | ||
systemd_source="/opt/syslogd/doc/syslogd.service" |
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,19 @@ | ||
#!/bin/sh | ||
# shellcheck disable=SC2154 | ||
# Debian post install script | ||
# See https://wiki.debian.org/MaintainerScripts | ||
# $1 == "configure" | ||
# $1 == "upgrade" | ||
|
||
#echo "Running Debian Post Install Script with: $@" | ||
|
||
# Configure package | ||
if [ "$1" = "configure" ] ; then | ||
test -n "$config_source" && install_config "$service_name" "$config_source" | ||
install_service "$service_name" "$sysv_source" "$systemd_source" | ||
fi | ||
|
||
# Upgrade package | ||
if [ "$1" = "upgrade" ] ; then | ||
refresh_servie "$service_name" | ||
fi |
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,23 @@ | ||
#!/bin/sh | ||
# shellcheck disable=SC2154 | ||
# Debian pre removal script | ||
# See https://wiki.debian.org/MaintainerScripts | ||
# $1 == "upgrade" | ||
# $1 == "remove" | ||
# $1 == "purge" | ||
|
||
#echo "Running Debian Pre Removal Script with: $@" | ||
|
||
# shellcheck disable=SC3037 | ||
if [ "$1" = "upgrade" ] ; then | ||
# We don't do anything | ||
echo -n "" | ||
fi | ||
|
||
if [ "$1" = "remove" ] ; then | ||
remove_service "$service_name" | ||
fi | ||
|
||
if [ "$1" = "purge" ] ; then | ||
test -n "$config_source" && remove_config "$service_name" | ||
fi |
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,17 @@ | ||
#!/bin/sh | ||
# shellcheck disable=SC2154 | ||
# RedHat postTrans script | ||
# $1 == 1 for install | ||
# $1 == 2 for upgrade | ||
|
||
#echo "Running RedHat Post Transaction Script with: $@" | ||
|
||
# Install | ||
if [ "$1" = "1" ] ; then | ||
test -n "$config_source" && install_config "$service_name" "$config_source" | ||
install_service "$service_name" "$sysv_source" "$systemd_source" | ||
fi | ||
|
||
refresh_service "$service_name" | ||
|
||
exit 0 |
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,15 @@ | ||
#!/bin/sh | ||
# shellcheck disable=SC2154 | ||
# RedHat pre Uninstall script | ||
# $1 == 1 for upgrade | ||
# $1 == 0 for uninstall | ||
|
||
#echo "Running RedHat Pre Un-Install Script with: $@" | ||
|
||
# Uninstall | ||
if [ "$1" = "0" ] ; then | ||
test -n "$config_source" && remove_config "$service_name" | ||
remove_service "$service_name" | ||
fi | ||
|
||
exit 0 |
Oops, something went wrong.