commit message from python script
This commit is contained in:
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user