commit message from python script

This commit is contained in:
2023-08-28 13:48:42 +02:00
parent beb7e700c7
commit 88c498eda4

View File

@@ -24,6 +24,8 @@ class create_unit_service():
print("[Unit]", print("[Unit]",
"[Service]", "[Service]",
"Type=oneshot", "Type=oneshot",
"PrivateTmp=yes",
"DynamicUser=yes",
"ExecStart={my_execStart}".format(my_execStart=self.execstart), file=ufile, sep="\n") "ExecStart={my_execStart}".format(my_execStart=self.execstart), file=ufile, sep="\n")
os.popen("systemctl daemon-reload") os.popen("systemctl daemon-reload")