systemd: Use DynamicUser=yes instead of User=nobody

Fix issue #139
This commit is contained in:
Star Brilliant
2022-10-06 16:07:19 +00:00
parent 8bedfc4bab
commit 604daa663f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ LimitNOFILE=1048576
Restart=always Restart=always
RestartSec=3 RestartSec=3
Type=simple Type=simple
User=nobody DynamicUser=yes
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
+1 -1
View File
@@ -10,7 +10,7 @@ LimitNOFILE=1048576
Restart=always Restart=always
RestartSec=3 RestartSec=3
Type=simple Type=simple
User=nobody DynamicUser=yes
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target