Update install.
This commit is contained in:
parent
5a89703ea0
commit
2eceb8597e
3
Makefile
3
Makefile
|
@ -12,5 +12,6 @@ install:
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
sudo install -m 0644 kas.service /etc/systemd/system/kas.service
|
sudo install -m 0644 kas.service /etc/systemd/system/kas.service
|
||||||
sudo install -m0700 -d /etc/kas
|
sudo install -m 0700 -d /etc/kas
|
||||||
sudo install -m 0600 kas.yaml /etc/kas/kas.yaml
|
sudo install -m 0600 kas.yaml /etc/kas/kas.yaml
|
||||||
|
sudo systemctl enable kas.service
|
||||||
|
|
|
@ -8,3 +8,6 @@ ExecStart=/usr/local/bin/kas -f /etc/kas/kas.yaml
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
Group=daemon
|
Group=daemon
|
||||||
User=daemon
|
User=daemon
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in New Issue