diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f8c369b..7286d842 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [v0.3.2] +- fix missing conf folder + ## [v0.3.1] - fix missing rpkg.macros file @@ -31,7 +34,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [v0.1.0] Tue May 07 2020 Jack Murdock - 0.1.0 - initial creation -[Unreleased]: https://github.com/xmidt-org/argus/compare/v0.3.1...HEAD +[Unreleased]: https://github.com/xmidt-org/argus/compare/v0.3.2...HEAD +[v0.3.2]: https://github.com/xmidt-org/argus/compare/v0.3.1...v0.3.2 [v0.3.1]: https://github.com/xmidt-org/argus/compare/v0.3.0...v0.3.1 [v0.3.0]: https://github.com/xmidt-org/argus/compare/v0.2.1...v0.3.0 [v0.2.1]: https://github.com/xmidt-org/argus/compare/v0.2.0...v0.2.1 diff --git a/conf/argus.env.example b/conf/argus.env.example new file mode 100644 index 00000000..baaeed0b --- /dev/null +++ b/conf/argus.env.example @@ -0,0 +1,6 @@ +#KERNEL_OPEN_FILES=95000 +#ULIMIT_OPEN_FILES=75000 +#NET_CORE_SOMAXCONN=1000 +#NET_IPV4_TCP_MAX_SYN_BACKLOG=1000 +#NET_IPV4_TCP_MEM="100000000 100000000 100000000" +DAEMON_COREFILE_LIMIT=unlimited diff --git a/conf/argus.service b/conf/argus.service new file mode 100644 index 00000000..44d43aad --- /dev/null +++ b/conf/argus.service @@ -0,0 +1,18 @@ + +[Unit] +Description=The XMiDT API server for storing configuration. +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=simple +PIDFile=/run/argus.pid +ExecStartPre=/usr/bin/rm -f /run/argus.pid +ExecStart=/usr/bin/argus +ExecReload=/bin/kill -s HUP $MAINPID +TimeoutStopSec=10 +KillMode=process +PrivateTmp=true +Restart=always + +[Install] +WantedBy=multi-user.target