Adrian,

New jivelite package
(jivelite-0.1-0.4.20130309git1362788759.fc18.armv7hnl.rpm) creates
jivelite user/group and installs systemd service file. (If built
"--with=systemd_service", which it has been.) Logging to syslog,
-/var/log/messages-.


Code:
--------------------
    
  sudo yum --enablerepo=vacuumtube-testing update jivelite
  sudo systemctl enable jivelite
  sudo systemctl start jivelite
  
--------------------


I had to give it a dummy VT (/dev/tty63) for stdin otherwise it wouldn't
start, complaining about not having a console.


Code:
--------------------
    
  $ cat /lib/systemd/system/jivelite.service
  
  [Unit]
  Description=Jivelite Controller
  After=local-fs.target syslog.target network.target
  
  [Service]
  User=jivelite
  ExecStart=/usr/bin/jivelite
  StandardInput=tty-force
  StandardOutput=syslog
  StandardError=syslog
  SyslogIdentifier=jivelite
  SyslogFacility=user
  SyslogLevel=info
  TTYPath=/dev/tty63
  
  [Install]
  WantedBy=multi-user.target
  
--------------------


------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=98190

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to