aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/systemd/rathole@.service2
-rw-r--r--examples/systemd/ratholec.service2
-rw-r--r--examples/systemd/ratholec@.service2
-rw-r--r--examples/systemd/ratholes.service2
-rw-r--r--examples/systemd/ratholes@.service2
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/systemd/rathole@.service b/examples/systemd/rathole@.service
index c502607..508ba32 100644
--- a/examples/systemd/rathole@.service
+++ b/examples/systemd/rathole@.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=nobody
+DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/rathole /etc/rathole/%i.toml
diff --git a/examples/systemd/ratholec.service b/examples/systemd/ratholec.service
index 898edcb..742c750 100644
--- a/examples/systemd/ratholec.service
+++ b/examples/systemd/ratholec.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=nobody
+DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/rathole -c /etc/rathole/rathole.toml
diff --git a/examples/systemd/ratholec@.service b/examples/systemd/ratholec@.service
index c66c0f1..472a02e 100644
--- a/examples/systemd/ratholec@.service
+++ b/examples/systemd/ratholec@.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=nobody
+DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/rathole -c /etc/rathole/%i.toml
diff --git a/examples/systemd/ratholes.service b/examples/systemd/ratholes.service
index 7f8964f..62e5031 100644
--- a/examples/systemd/ratholes.service
+++ b/examples/systemd/ratholes.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=nobody
+DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/rathole -s /etc/rathole/rathole.toml
diff --git a/examples/systemd/ratholes@.service b/examples/systemd/ratholes@.service
index 7042429..c101612 100644
--- a/examples/systemd/ratholes@.service
+++ b/examples/systemd/ratholes@.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=nobody
+DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/rathole -s /etc/rathole/%i.toml