diff options
author | 2018-09-07 23:57:49 +0200 | |
---|---|---|
committer | 2018-09-27 08:39:03 +0200 | |
commit | d4d5c234425a7e76f526c90acfbdc9c1b1770140 (patch) | |
tree | 2dd5caaed2f9c0705b11b12c19f39f6ff9883663 /sys-apps/tas/files | |
parent | dev-ruby/sinatra: add 2.0.4 (diff) | |
download | gentoo-d4d5c234425a7e76f526c90acfbdc9c1b1770140.tar.gz gentoo-d4d5c234425a7e76f526c90acfbdc9c1b1770140.tar.bz2 gentoo-d4d5c234425a7e76f526c90acfbdc9c1b1770140.zip |
sys-apps/tas: New package
Closes: https://bugs.gentoo.org/665468
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/9804
Diffstat (limited to 'sys-apps/tas/files')
-rw-r--r-- | sys-apps/tas/files/tas.ini | 8 | ||||
-rw-r--r-- | sys-apps/tas/files/tas.initd | 17 | ||||
-rw-r--r-- | sys-apps/tas/files/tas.service | 11 |
3 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/tas/files/tas.ini b/sys-apps/tas/files/tas.ini new file mode 100644 index 000000000000..06f125000bbd --- /dev/null +++ b/sys-apps/tas/files/tas.ini @@ -0,0 +1,8 @@ +Config : +{ + updateFreq = 10; +}; +Path : +{ + installedPath = "/etc/supermicro"; +}; diff --git a/sys-apps/tas/files/tas.initd b/sys-apps/tas/files/tas.initd new file mode 100644 index 000000000000..21b9bd14b0d5 --- /dev/null +++ b/sys-apps/tas/files/tas.initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +name="Supermicro Thin-Agent Service" +pidfile="/run/${RC_SVCNAME}.pid" + +command="/usr/bin/IPMITAS" +command_args="-agent start-service" +command_args_stop="-agent stop-service" +start_stop_daemon_args="--env LC_ALL=C" + +stop() { + ebegin "Stopping ${name}" + ${command} ${command_args_stop} + eend $? +} diff --git a/sys-apps/tas/files/tas.service b/sys-apps/tas/files/tas.service new file mode 100644 index 000000000000..7bf6db6265ee --- /dev/null +++ b/sys-apps/tas/files/tas.service @@ -0,0 +1,11 @@ +[Unit] +After=network-online.target +Description=TAS + +[Service] +Environment="LC_ALL=C" +ExecStart=/usr/bin/IPMITAS +Type=simple + +[Install] +WantedBy=multi-user.target |