From b17e2ef428609a34de8a899dbd82a7069420c876 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 27 Feb 2021 19:19:17 +0300 Subject: systemd/ -> dist/systemd/ --- README.md | 2 +- dist/systemd/linux-status.service | 10 ++++++++++ systemd/linux-status.service | 10 ---------- 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 dist/systemd/linux-status.service delete mode 100644 systemd/linux-status.service diff --git a/README.md b/README.md index 3a69263..745cf83 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ To start a web server on port 18101: There's also a [systemd unit] that you can adjust to run the server. -[systemd unit]: systemd/linux-status.service +[systemd unit]: dist/systemd/linux-status.service TODO ---- diff --git a/dist/systemd/linux-status.service b/dist/systemd/linux-status.service new file mode 100644 index 0000000..0b13ec6 --- /dev/null +++ b/dist/systemd/linux-status.service @@ -0,0 +1,10 @@ +[Unit] +Description=linux-status + +[Service] +Type=simple +WorkingDirectory=/srv/linux-status +ExecStart=/usr/bin/python3 -m http.server --cgi 18101 + +[Install] +WantedBy=multi-user.target diff --git a/systemd/linux-status.service b/systemd/linux-status.service deleted file mode 100644 index 0b13ec6..0000000 --- a/systemd/linux-status.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=linux-status - -[Service] -Type=simple -WorkingDirectory=/srv/linux-status -ExecStart=/usr/bin/python3 -m http.server --cgi 18101 - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3