diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | amc.service | 10 |
4 files changed, 14 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = aerospike-amc-community pkgdesc = Aerospike Management Console (AMC) is a web-based tool to monitor/manage an Aerospike cluster pkgver = 4.0.13 - pkgrel = 1 + pkgrel = 2 url = http://www.aerospike.com/ arch = x86_64 license = AGPLv3 diff --git a/.gitignore b/.gitignore index 8ebe751bfeff..7f6e9b8a2324 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ * !.gitignore !PKGBUILD -!.SRCINFO
\ No newline at end of file +!.SRCINFO +!amc.service @@ -3,7 +3,7 @@ pkgname=aerospike-amc-community pkgrealname=aerospike-tools pkgver=4.0.13 -pkgrel=1 +pkgrel=2 pkgdesc="Aerospike Management Console (AMC) is a web-based tool to monitor/manage an Aerospike cluster" arch=('x86_64') url="http://www.aerospike.com/" diff --git a/amc.service b/amc.service new file mode 100644 index 000000000000..9a979b667a02 --- /dev/null +++ b/amc.service @@ -0,0 +1,10 @@ +[Unit] +Description=Web-based tool to monitor/manage an Aerospike cluster + +[Service] +PIDFile=/var/run/amc.pid +ExecStart=/opt/amc/amc -config-file=/etc/amc/amc.conf +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |