Skip to content

Commit

Permalink
README: Add installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michio Honda committed Nov 3, 2020
1 parent 076d41c commit 98e0c2d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# tm - testbed manager
[![Build Status](https://travis-ci.org/micchie/tm.svg?branch=master)](https://travis-ci.org/micchie/tm)

## Installation
Assuming the group is set to the users of tm:
```
sudo cp tm.py /usr/local/bin/tm
sudo chmod 754 /usr/local/bin/tm
sudo mkdir /usr/local/tm
sudo chmod 775 /usr/local/tm
```
In Ubuntu 18.04
```
sudo cp tm-cleanup.* /lib/systemd/system/
```
In Ubuntu 20.04
```
sudo cp tm-cleanup.* /usr/lib/systemd/system/
```
```
sudo systemctl enable tm-cleanup.timer
sudo systemctl start tm-cleanup.timer
systemctl start list-timers
```
In the UNIT and ACTIVATES rows, tm-cleanup.timer and tm-cleanup.service should
appear, respectively.

0 comments on commit 98e0c2d

Please sign in to comment.