Contents of /trunk/nxserver-freenx/freenx.service
Parent Directory | Revision Log
Revision 2936 -
(show annotations)
(download)
Mon May 29 08:37:46 2017 UTC (7 years, 4 months ago) by niro
File size: 374 byte(s)
Mon May 29 08:37:46 2017 UTC (7 years, 4 months ago) by niro
File size: 374 byte(s)
-fixed pathes to match new nx setup
1 | [Unit] |
2 | Description=FreeNX Server |
3 | After=local-fs.target |
4 | Requires=sshd.service |
5 | |
6 | [Service] |
7 | Type=oneshot |
8 | ExecStartPre=/usr/bin/freenx-check-setup |
9 | ExecStartPre=-/usr/bin/nxserver --cleanup |
10 | ExecStart=/usr/bin/nxserver --start |
11 | ExecStop=/usr/bin/nxserver --stop |
12 | ExecStopPost=-/usr/bin/nxserver --cleanup |
13 | StandardOutput=null |
14 | RemainAfterExit=yes |
15 | |
16 | [Install] |
17 | WantedBy=multi-user.target |