View Single Post
Old September 20th, 2013, 10:00 AM   #957 (permalink)
palmtree5
Senior Member
 
palmtree5's Avatar
 
Join Date: May 2012
Location: USA
Gender: Male
Posts: 2,749
 
Device(s): HTC One SV, Samsung Galaxy Prevail (retired), Nexus 7 (Gen 1)
Carrier: Boost Mobile

Thanks: 1,656
Thanked 1,467 Times in 757 Posts
Default

Quote:
Originally Posted by jonbanjo View Post
I've been setting up a new (OpenSuse) PC to handle my various network tasks. It also needs the XPL hub. I thought I'd try a systemd service file . I've not used one before but I was pleasantly surprised. All I needed was:

Code:
[Unit]
Description=XPL Hub
After=network.target

[Service]
Type=forking
ExecStart=/home/jon/jfhome/xPLLib/examples/xPL_Hub
[Install]
WantedBy=multi-user.target
Yes, systemd service files are very simple
__________________
Find a post helpful? Hit
See spam or something offensive? Hit
New to the site? Site Rules/Guidelines and Introductions
Not a member yet but want to join? Join here!
Let's cure cancer with our phones
palmtree5 is online now  
Reply With Quote