DCBOT always restart
This commit is contained in:
parent
2ff030ce73
commit
243536ef43
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@ in {
|
||||||
StateDirectory = "dcbot";
|
StateDirectory = "dcbot";
|
||||||
ExecStart = "${bash} -c 'cd ${dataDir} && deno run -A ${programDir}/src/main.ts'";
|
ExecStart = "${bash} -c 'cd ${dataDir} && deno run -A ${programDir}/src/main.ts'";
|
||||||
User = "dcbot";
|
User = "dcbot";
|
||||||
group = "dcbot";
|
Group = "dcbot";
|
||||||
|
Restart = "always";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue