aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-02-26 19:25:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-02-26 19:25:37 +0300
commit1ee30f6479b19586cecc454eeec0309180325956 (patch)
tree64a1041df8ab464692936fee561d7865d3147884
parentREADME: update (diff)
downloadlinux-status-1ee30f6479b19586cecc454eeec0309180325956.tar.gz
linux-status-1ee30f6479b19586cecc454eeec0309180325956.zip
systemd: make it a system unit
-rw-r--r--systemd/linux-status.service6
1 files 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