mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
Added deployment files
This commit is contained in:
parent
ba6fe44ba2
commit
2e90d54686
8
deploy.sh
Executable file
8
deploy.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
cargo build --release
|
||||
install -Dm755 target/release/daemon /usr/local/bin/lact-daemon
|
||||
install -Dm755 target/release/cli /usr/local/bin/lact-cli
|
||||
install -Dm755 target/release/gui /usr/local/bin/lact-gui
|
||||
install -Dm644 lact.service /etc/systemd/system/lact.service
|
||||
systemctl daemon-reload
|
||||
systemctl restart lact
|
8
lact.service
Normal file
8
lact.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=AMDGPU Control Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/lact-daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user