2 Description=User-defined initscript launcher
3 After=network-online.target
4 Requires=network-online.target
7 # http://www.freedesktop.org/software/systemd/man/systemd.service.html
8 # stoppable oneshot service
12 ExecStart=/bin/bash -c ' [ -f /etc/rc.d/init.d/vinit.slice ] && /etc/rc.d/init.d/vinit.slice start $(cat /etc/slicename) 2>&1 >> /var/log/vinit & '
13 ExecStop= /bin/bash -c ' [ -f /etc/rc.d/init.d/vinit.slice ] && /etc/rc.d/init.d/vinit.slice stop $(cat /etc/slicename) 2>&1 >> /var/log/vinit & '
16 WantedBy=multi-user.target