View Single Post
  #2  
Old 08-10-2015, 06:36 PM
Flopz
Fire Beetle
 
Join Date: May 2007
Posts: 13
Default

Here are what I'm using for mine

Code:
# cat /usr/lib/systemd/system/eqemu-world.service 
[Unit]
Description=EQ Emulator World server
After=network.target

[Service]
Type=simple
User=eq
Group=users
WorkingDirectory=/home/eq/server
ExecStartPre=/home/eq/server/shared_memory
ExecStart=/home/eq/server/world

[Install]
WantedBy=multi-user.target
Code:
# cat /usr/lib/systemd/system/eqemu-zones.service 
[Unit]
Description=EQ Emulator Zone server
After=network.target
After=eqemu-world.service
Requires=eqemu-world.service

[Service]
Type=simple
User=eq
Group=users
WorkingDirectory=/home/eq/server
ExecStart=/home/eq/server/eqlaunch zone

[Install]
WantedBy=multi-user.target
EDIT: This is on CentOS 7. I'd imagine would work fine on Fedora without modifying (beyond changing the paths, that is)

Last edited by Flopz; 08-10-2015 at 06:37 PM.. Reason: Added OS
Reply With Quote