Renamed torch-pub.py to torch-agent.py
This commit is contained in:
parent
258b166c36
commit
12b55643e2
2
example/Vagrantfile
vendored
2
example/Vagrantfile
vendored
|
@ -65,7 +65,7 @@ Vagrant.configure("2") do |config|
|
|||
# documentation for more information about their specific syntax and use.
|
||||
|
||||
config.vm.provision "file", source: "../torch.conf", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../torch-pub.py", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../torch-agent.py", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../torch.service", destination: "~/torch/"
|
||||
config.vm.provision "file", source: "../install-ubuntu2004.sh", destination: "~/torch/"
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@ cp torch.conf /etc/torch/
|
|||
chown -R torch /etc/torch
|
||||
|
||||
mkdir -p /usr/local/lib/torch
|
||||
mv torch-pub.py /usr/local/lib/torch/
|
||||
chown root:root /usr/local/lib/torch/torch-pub.py
|
||||
chmod 644 /usr/local/lib/torch/torch-pub.py
|
||||
mv torch-agent.py /usr/local/lib/torch/
|
||||
chown root:root /usr/local/lib/torch/torch-agent.py
|
||||
chmod 644 /usr/local/lib/torch/torch-agent.py
|
||||
|
||||
mv torch.service /etc/systemd/system/
|
||||
chown root:root /etc/systemd/system/torch.service
|
||||
|
|
|
@ -5,7 +5,7 @@ Requires=tor.service ssh.service
|
|||
|
||||
[Service]
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/usr/bin/python3 /usr/local/lib/torch/torch-pub.py
|
||||
ExecStart=/usr/bin/python3 /usr/local/lib/torch/torch-agent.py
|
||||
User=torch
|
||||
Group=debian-tor
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user