From 19725dd6a32db4ba4e40751fa8022507507a22b6 Mon Sep 17 00:00:00 2001 From: collodi Date: Fri, 9 Sep 2022 16:26:14 +0900 Subject: [PATCH] Service creation procedure --- octane.py | 2 +- octane.sxhkdrc => octane.sxhkdrc.sample | 0 octaned.service => octaned.service.sample | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename octane.sxhkdrc => octane.sxhkdrc.sample (100%) rename octaned.service => octaned.service.sample (80%) diff --git a/octane.py b/octane.py index 402e6b8..08b5084 100755 --- a/octane.py +++ b/octane.py @@ -9,7 +9,7 @@ def newroom(): obj = {'name': 'string'} - x = requests.post(url, json=obj) + x = requests.post(url+"room/", json=obj) with open("id", "w") as f: # .octane.d/id f.write(str(x.json()["id"])) return x diff --git a/octane.sxhkdrc b/octane.sxhkdrc.sample similarity index 100% rename from octane.sxhkdrc rename to octane.sxhkdrc.sample diff --git a/octaned.service b/octaned.service.sample similarity index 80% rename from octaned.service rename to octaned.service.sample index 08f4c2b..a84905c 100644 --- a/octaned.service +++ b/octaned.service.sample @@ -1,5 +1,5 @@ [Unit] -Description=Quantilier Startup Service +Description=Octane Wants=network-online.target After=network-online.target