🎉 Added ror-server PKGBUILD
This commit is contained in:
18
ror-server/rorserver.install
Normal file
18
ror-server/rorserver.install
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
post_install() {
|
||||
# create user
|
||||
useradd -s /bin/false rorserver
|
||||
|
||||
# create installation directories
|
||||
mkdir -p /etc/rorserver
|
||||
mkdir -p /var/log/rorserver
|
||||
mkdir -p /var/run/rorserver
|
||||
|
||||
chown rorserver:rorserver -R /etc/rorserver
|
||||
chown rorserver:rorserver -R /var/log/rorserver
|
||||
chown rorserver:rorserver -R /var/run/rorserver
|
||||
|
||||
echo "example configuration added: /etc/rorserver/simple.cfg.example please configure this file to your likings and rename it to simple.cfg"
|
||||
echo "after you have configured your server, you can start it with: \"/etc/init.d/rorserver start\""
|
||||
}
|
Reference in New Issue
Block a user