dschmenk / apple2pi

Apple II client/server for Raspberry Pi
GNU General Public License v3.0
112 stars 24 forks source link

systemd service file doesn't map to location of installed a2pid program #13

Open xandark opened 7 years ago

xandark commented 7 years ago

In the file:

apple2pi/share/a2pi.service

... there is a line that references the a2pi program:

ExecStart=/sbin/a2pid $A2PID_OPTS

... yet that is not the installed location in the apple2pi/src/Makefile:

DESTDIR=/usr/local SBINDIR=$(DESTDIR)/sbin

... which resolves to /usr/local/sbin/.

I'm just learning systemd, but shouldn't the path in ExecStart be /usr/local/sbin/a2pid to be consistent with the makefile install directories?