summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2019-03-23 23:14:45 +0100
committerPeter Powell <petpow@saberuk.com>2019-03-24 14:47:48 +0000
commit94ce90c588b7d919102a91d3e0f6df4188ae417b (patch)
tree09b7f3de8db362f19bb3951fde7fb5077aab52ee
parent9b732cb49dcd1b8d28881236f5afb93e47f19b94 (diff)
Add the User and Group options to the systemd service unit template file.
-rw-r--r--make/template/inspircd.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/template/inspircd.service b/make/template/inspircd.service
index c05e61822..e29aa593f 100644
--- a/make/template/inspircd.service
+++ b/make/template/inspircd.service
@@ -30,6 +30,8 @@ ExecStop=@SCRIPT_DIR@/inspircd stop
PIDFile=@DATA_DIR@/inspircd.pid
Restart=on-failure
Type=forking
+User=@USER@
+Group=@GROUP@
[Install]
WantedBy=multi-user.target