snail-xserver for Systemd

This commit is contained in:
Kolan Sh 2012-04-08 04:34:27 -04:00
parent f7a0b2e9b2
commit e0c7d7d0d9
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[Unit]
Description=Daemon to auto start/stop power up/down nVidia graphics.
After=syslog.target
[Service]
ExecStart=/bin/bash -c '(/usr/sbin/snail.nv_pwr_on && nohup /usr/bin/X -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/snail -nolisten tcp -noreset :1 vt9 &>/dev/null)&'
ExecStop=/usr/sbin/snail.nv_pwr_off
Type=forking