mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 10:58:28 +00:00
Rename arkdaemon.service to arkmanager.service
This commit is contained in:
parent
f196df51c6
commit
b2d5554cf4
@ -14,9 +14,9 @@ if [ ! -z "$1" ]; then
|
||||
mkdir -p "/usr/libexec/arkmanager"
|
||||
cp lsb/arkdaemon "/usr/libexec/arkmanager/arkmanager.init"
|
||||
chmod +x "/usr/libexec/arkmanager/arkmanager.init"
|
||||
cp systemd/arkdeamon.service /etc/systemd/system/arkdaemon.service
|
||||
cp systemd/arkdeamon.service /etc/systemd/system/arkmanager.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable arkdaemon.service
|
||||
systemctl enable arkmanager.service
|
||||
echo "Ark server will now start on boot, if you want to remove this feature run the following line"
|
||||
echo "systemctl disable arkmanager.service"
|
||||
else # systemd not present, so use sysvinit
|
||||
@ -49,8 +49,8 @@ if [ ! -z "$1" ]; then
|
||||
echo "rc-update del arkmanager default"
|
||||
fi
|
||||
elif [[ /etc/systemd/system.conf ]]; then # used by systemd
|
||||
cp systemd/arkdeamon.service /etc/systemd/system/arkdaemon.service
|
||||
systemctl enable arkdeamon.service
|
||||
cp systemd/arkdeamon.service /etc/systemd/system/arkmanager.service
|
||||
systemctl enable arkmanager.service
|
||||
fi
|
||||
|
||||
# Create a folder in /var/log to let Ark tools write its own log files
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user