From e0c7d7d0d95325017ba1c516877fac1126373b3f Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sun, 8 Apr 2012 04:34:27 -0400 Subject: [PATCH] snail-xserver for Systemd --- share/init.d/snail-xserver.systemd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/init.d/snail-xserver.systemd b/share/init.d/snail-xserver.systemd index e69de29..98bea51 100644 --- a/share/init.d/snail-xserver.systemd +++ b/share/init.d/snail-xserver.systemd @@ -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