ts-admin 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fba606ded7a3826b1ea2cbddda05bcc19ca2b7a
4
- data.tar.gz: 26a47753ba7cec3e7d728240abd0390472b4a519
3
+ metadata.gz: 3068ade8215ebae2e713dd66121329a63d3e1450
4
+ data.tar.gz: 574a719ab77ecf0c8cd59a5ada99834a4d730c5e
5
5
  SHA512:
6
- metadata.gz: 7a69c6c728475b1ae22528aefeee9b5e4e60d15b1aa5a31592c53c71234a3819e54a156ec746146f1ff8fa1465345a57e72353b672f8bcd3b845c3544dc63b9e
7
- data.tar.gz: e46c5591f92b31f669be887730da8cd0ec9ec13daad649dad8d80ab7b5cc7baf299006e18c58ea3109a7defbc88788a5906b832653f27a57f01ee833cc337f2b
6
+ metadata.gz: 76a48e77f48113002c5ae98f7e3b053c971b41795b8cb20757a5a8bb06fe5f2de9b58c125eb73efcc2706a051a07aab9b5be4c1ed9d37985ffef02db39ba7bdb
7
+ data.tar.gz: 1bd74737065d1146b5c6eea3930fc6e32f3f9ccceb3eb55b0378d421c6bd7c98e220091602e6be5b79892c7bdf3c02dd530eabc0c60c024160996392e0e85f09
data/layout/default.xhtml CHANGED
@@ -38,8 +38,8 @@
38
38
 
39
39
  <footer id="footer">
40
40
  <p>
41
- &copy; 2012-2013 SIC! Software GmbH<br />
42
- TSAdmin is free software and is licensed under the MIT license.
41
+ &copy; 2012-2013 <a href="http://www.sic-software.com/">SIC! Software GmbH</a><br />
42
+ <a href="https://github.com/SICSoftwareGmbH/TSAdmin">TSAdmin</a> is free software and is licensed under the MIT license.
43
43
  </p>
44
44
  </footer>
45
45
  </div>
@@ -1,3 +1,3 @@
1
1
  module TSAdmin
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -0,0 +1,64 @@
1
+ #! /bin/sh
2
+
3
+ ### BEGIN INIT INFO
4
+ # Provides: tsadmin
5
+ # Required-Start: $remote_fs $syslog
6
+ # Required-Stop: $remote_fs $syslog
7
+ # Default-Start: 2 3 4 5
8
+ # Default-Stop:
9
+ # Short-Description: Apache Traffic Server frontend
10
+ ### END INIT INFO
11
+
12
+ set -e
13
+
14
+ PATH=/usr/local/sbin:/usr/local/bin:$PATH
15
+
16
+ DAEMON=`which ts-admin`
17
+ PIDFILE=/var/run/ts-admin.pid
18
+ CONFIG=/etc/ts-admin/config.yml
19
+
20
+ test -x "$DAEMON" || exit 0
21
+
22
+ if test -f /etc/default/ts-admin; then
23
+ . /etc/default/ts-admin
24
+ fi
25
+
26
+ . /lib/lsb/init-functions
27
+
28
+ case "$1" in
29
+ start)
30
+ log_daemon_msg "Starting TSAdmin" "ts-admin" || true
31
+ if start-stop-daemon --start --quiet --background --oknodo --make-pidfile --pidfile "$PIDFILE" --exec "$DAEMON" -- --config "$CONFIG"; then
32
+ log_end_msg 0 || true
33
+ else
34
+ log_end_msg 1 || true
35
+ fi
36
+ ;;
37
+ stop)
38
+ log_daemon_msg "Stopping TSAdmin" "ts-admin" || true
39
+ if start-stop-daemon --stop --signal KILL --quiet --oknodo --pidfile "$PIDFILE"; then
40
+ log_end_msg 0 || true
41
+ else
42
+ log_end_msg 1 || true
43
+ fi
44
+ ;;
45
+
46
+ reload|force-reload)
47
+ $0 restart
48
+ ;;
49
+
50
+ restart)
51
+ $0 stop
52
+ $0 start
53
+ ;;
54
+
55
+ status)
56
+ status_of_proc -p /var/run/sshd.pid /usr/sbin/sshd sshd && exit 0 || exit $?
57
+ ;;
58
+
59
+ *)
60
+ log_action_msg "Usage: /etc/init.d/ts-admin {start|stop|reload|force-reload|restart|status}" || true
61
+ exit 1
62
+ esac
63
+
64
+ exit 0
data/ts-admin.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["florian.schwab@sic-software.com"]
11
11
  spec.description = %q{Frontend for managing ATS remap configuration}
12
12
  spec.summary = %q{Frontend for managing ATS remap configuration}
13
- spec.homepage = "http://www.sic-software.com/"
13
+ spec.homepage = "https://github.com/SICSoftwareGmbH/TSAdmin"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ts-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
@@ -77,6 +77,7 @@ files:
77
77
  - lib/ts-admin.rb
78
78
  - lib/ts-admin/traffic_server.rb
79
79
  - lib/ts-admin/version.rb
80
+ - misc/debian-init.sh
80
81
  - public/css/font-awesome.min.css
81
82
  - public/css/grid.css
82
83
  - public/css/layout.css
@@ -96,7 +97,7 @@ files:
96
97
  - view/remap/form.xhtml
97
98
  - view/remap/index.xhtml
98
99
  - view/remap/list.xhtml
99
- homepage: http://www.sic-software.com/
100
+ homepage: https://github.com/SICSoftwareGmbH/TSAdmin
100
101
  licenses:
101
102
  - MIT
102
103
  metadata: {}