mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 13:55:39 +00:00
Use systemd runtimedirectory
This commit is contained in:
@@ -160,6 +160,8 @@ in
|
||||
];
|
||||
StateDirectory = "spacebar-server";
|
||||
StateDirectoryMode = "0700";
|
||||
RuntimeDirectory = "spacebarchat";
|
||||
RuntimeDirectoryMode = "0750";
|
||||
|
||||
Restart = "on-failure";
|
||||
RestartSec = 10;
|
||||
@@ -181,7 +183,7 @@ in
|
||||
# }
|
||||
];
|
||||
|
||||
systemd.tmpfiles.rules = [ "d /run/spacebarchat 0750 spacebar spacebar" ];
|
||||
# systemd.tmpfiles.rules = [ "d /run/spacebarchat 0750 spacebar spacebar" ];
|
||||
|
||||
systemd.services.spacebar-api = makeServerTsService {
|
||||
description = "Spacebar Server - API";
|
||||
|
||||
Reference in New Issue
Block a user