We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c409fcd commit c64c1f7Copy full SHA for c64c1f7
1 file changed
gameserver.service
@@ -4,14 +4,14 @@ Description=Python game server
4
After=network.target
5
6
[Service]
7
-ExecStart=/usr/bin/python3 -u /home/gamer/game-server/server/game_server.py
+ExecStart=/usr/bin/python3 -u /home/gameserver/python-game-server/server/game_server.py
8
Restart=always
9
10
-StandardOutput=append:/home/gamer/gameserver.log
+StandardOutput=append:/var/log/gameserver.log
11
StandardError=inherit
12
13
-User=gamer
14
-Group=gamer
+User=gameserver
+Group=gameserver
15
16
ProtectSystem=strict
17
ProtectHome=tmpfs
@@ -32,7 +32,7 @@ CapabilityBoundingSet=
32
NoNewPrivileges=yes
33
MemoryDenyWriteExecute=true
34
35
-BindReadOnlyPaths=/home/gamer/game-server/server
+BindReadOnlyPaths=/home/gameserver/python-game-server/server
36
37
[Install]
38
WantedBy=multi-user.target
0 commit comments