14 lines
288 B
SYSTEMD
14 lines
288 B
SYSTEMD
|
[Unit]
|
||
|
Description=NoMachine NX Server
|
||
|
Requires=sshd.service
|
||
|
After=sshd.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/NX/bin/nxfaketime '2012-05-19 12:24:45' /usr/NX/bin/nxserver --start
|
||
|
ExecStop=/usr/NX/bin/nxserver --shutdown
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|