Change /usr/local/bin to /usr/bin
This commit is contained in:
parent
4747f2e888
commit
c4be7cc70f
4
dist/README.md
vendored
4
dist/README.md
vendored
|
@ -4,7 +4,7 @@ The `dist` folder contains sample configs for various platforms.
|
|||
|
||||
## Conventions
|
||||
|
||||
On unixes we will place agent configs under `/etc/nomad` and store data under `/var/lib/nomad/`. You will need to create both of these directories. We assume that `nomad` is installed to `/usr/local/bin/nomad`.
|
||||
On unixes we will place agent configs under `/etc/nomad` and store data under `/var/lib/nomad/`. You will need to create both of these directories. We assume that `nomad` is installed to `/usr/bin/nomad`.
|
||||
|
||||
## Agent Configs
|
||||
|
||||
|
@ -25,6 +25,6 @@ You can control Nomad with `start|stop|restart nomad`.
|
|||
|
||||
## Systemd
|
||||
|
||||
On systems using systemd the basic systemd file under `systemd/nomad.service` starts and stops the nomad agent. Place it under `/etc/systemd/system/nomad.service`.
|
||||
On systems using systemd the basic systemd unit file under `systemd/nomad.service` starts and stops the nomad agent. Place it under `/etc/systemd/system/nomad.service`.
|
||||
|
||||
You can control Nomad with `systemctl start|stop|restart nomad`.
|
2
dist/systemd/nomad.service
vendored
2
dist/systemd/nomad.service
vendored
|
@ -3,4 +3,4 @@ Description=Nomad
|
|||
Documentation=https://nomadproject.io/docs/
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/nomad agent -config /etc/nomad
|
||||
ExecStart=/usr/bin/nomad agent -config /etc/nomad
|
2
dist/upstart/nomad.conf
vendored
2
dist/upstart/nomad.conf
vendored
|
@ -1,4 +1,4 @@
|
|||
start on (filesystem and net-device-up IFACE=lo)
|
||||
stop on runlevel [!2345]
|
||||
|
||||
exec /usr/local/bin/nomad agent -config /etc/nomad
|
||||
exec /usr/bin/nomad agent -config /etc/nomad
|
Loading…
Reference in a new issue