[X2Go-Dev] Writing a systemd service file

Oliver Burger obgr_seneca at mageia.org
Wed Apr 4 12:00:28 CEST 2012


Am 04.04.2012 11:51, schrieb Oliver Burger:
Argh....
> Here is the service file:
>
> ----------> snip <----------
> # this is a systemd service file for starting x2goserver
> [Unit]
> Description=x2go - remote desktop server
> After=syslog.target network.target
> #
> [Service]
> # The process to start is x2gocleansession
> ExecStart=/usr/bin/x2gocleansession
> #
> # perhaps some other things have to be done
> # don't know yet, let's talk to Colin
> [Install]
> WantedBy=multi-user.target
> ----------> snip <----------
Ok, the first error was the path, x2gocleansessions is in /usr/sbin, not 
/usr/bin...
The second error was that application name (missing "s" at the end of 
the command.
Now the error I wrote in the last mail is gone. But now I get no output 
at all and it's still not working.
when starting x2gocleansessions manually, everything is ok.

Oliver



More information about the x2go-dev mailing list