From 1ee30f6479b19586cecc454eeec0309180325956 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 26 Feb 2021 19:25:37 +0300 Subject: systemd: make it a system unit --- systemd/linux-status.service | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/systemd/linux-status.service b/systemd/linux-status.service index 3ba1964..0b13ec6 100644 --- a/systemd/linux-status.service +++ b/systemd/linux-status.service @@ -1,12 +1,10 @@ -# Adjust as you see fit: - [Unit] Description=linux-status [Service] Type=simple -WorkingDirectory=%h/workspace/personal/linux-status +WorkingDirectory=/srv/linux-status ExecStart=/usr/bin/python3 -m http.server --cgi 18101 [Install] -WantedBy=default.target +WantedBy=multi-user.target -- cgit v1.2.3