spacenavd: Need help with systemd unit

Richard Shaw hobbes1069 at gmail.com
Mon Aug 22 20:16:30 UTC 2011


I'm working on a review request for spacenavd[1] which is a daemon for
providing access to 3D input devices that use the library libspnav.

I have not built a package that uses sysv for systemd yet so this is my first.

I have a working sysv init script based on the provided template but
it would probably be better to start out a new package using systemd
instead.

Here's my first attempt at :
[Unit]
Description=Spacenav Daemon
After=syslog.target

[Service]
Type=Simple
ExecStart=/usr/bin/spacenavd

[Install]
WantedBy=graphical.target

Is this all I need? It does not depend on any other service that I know of.

Thanks,
Richard

[1] https://bugzilla.redhat.com/show_bug.cgi?id=731519


More information about the devel mailing list