Commit Graph

22 Commits

Author SHA1 Message Date
Phil Pennock
47db17a4c8 systemd: use SIGUSR2 for shutdown, for LDM 2023-09-28 13:16:48 -04:00
Waldemar Quevedo
e6dc18582e Small fix to nats-server-hardened.service 2023-02-09 18:53:40 -08:00
Jos van Bakel
9e800cb75d Add hardened systemd service 2021-07-27 22:36:32 +02:00
Jaime Piña
4216be6835 Remove mkpasswd from server
The functionality of mkpasswd has been added to nats-io/natscli.
2021-02-10 11:15:23 -08:00
Derek Collison
6d7fd605d0 Deleted old naming [ci skip] 2019-06-07 11:14:30 -07:00
Derek Collison
7a7ea66e1f Updated to new naming [ci skip]
Signed-off-by: Derek Collison <derek@nats.io>
2019-06-07 11:12:27 -07:00
Alberto Ricart
9e2107c860 moving mkpasswd to its own directory to enable go get to install the tool. 2019-05-16 10:06:26 -05:00
Colin Sullivan
44fc27f1d0 Fix mkpasswd on windows
Signed-off-by: Colin Sullivan <colin@synadia.com>
2019-04-09 16:41:37 -06:00
Derek Collison
f382fb86ae Merge pull request #881 from andyxning/remove_magic_number_and_enhance_help_info_for_mkpasswd
remove magic number and enhance help info for mkpasswd
2019-01-17 08:06:23 -08:00
Andy Xie
254366fefb remove magic number and enhance help info for mkpasswd 2019-01-17 12:18:45 +08:00
Andy Xie
8b473db07f add ntp dep to systemd service file 2019-01-17 11:17:05 +08:00
Derek Collison
f85f002a28 Update tls and remove pre 1.9 files
Signed-off-by: Derek Collison <derek@nats.io>
2018-09-06 19:00:44 -07:00
Derek Collison
00901acc78 Update license to Apache 2 2018-03-15 22:31:07 -07:00
Glenn Matthys
89cbb9613c Remove PIDFile and implement Reload & Stop commands
Removes PIDFile (gnatsd doesn't create a pid file) and implements the
Reload and Stop service commands
2017-09-20 21:24:51 +02:00
Glenn Matthys
1415511cdf Add systemd unit file 2017-09-13 16:45:28 +02:00
Tyler Treat
56ab619498 First pass at implementing cluster reload 2017-06-16 15:53:07 -05:00
Ivan Kozlovic
f75779b65b Use 2 files for CloneTLSConfig instead of reflection
Use build directives to solve the problem of new fields in tls.Config
in go 1.7

Related to #231
2016-10-20 20:39:39 -06:00
Ivan Kozlovic
4997637270 [FIXED] assignment copies lock value for crypto/tls.Config
Running `go vet ./...` with `go 1.7.3` would report the following:

```
server/route.go:342: assignment copies lock value to tlsConfig: crypto/tls.Config contains sync.Once contains sync.Mutex
server/server.go:479: assignment copies lock value to config: crypto/tls.Config contains sync.Once contains sync.Mutex
```

Add a “clone” function while waiting for this to be addressed
by the language itself (https://go-review.googlesource.com/#/c/28075/)
2016-10-20 14:59:29 -06:00
Derek Collison
f2309164f5 Add ability to control cost function via command line 2015-12-01 14:27:34 -08:00
Derek Collison
847de3f8b5 comment constants 2015-12-01 12:50:16 -08:00
Derek Collison
c9feb8f354 logic flow change 2015-12-01 12:48:10 -08:00
Derek Collison
6fc9927f52 bcrypt support for passwords and tokens 2015-11-30 17:38:08 -08:00