mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
0d9fbc1ad7
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer. Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer. Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk! Enjoy!
95 lines
2.3 KiB
XML
95 lines
2.3 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
|
|
<!--
|
|
Assumes user=sickbeard group=other
|
|
Assumes /opt/sickbeard is installation directory
|
|
|
|
See http://www.sun.com/bigadmin/content/selfheal/sdev_intro.jsp for more information
|
|
|
|
To install (see http://docs.sun.com/app/docs/doc/819-2379/fgour?l=en&a=view for more information)
|
|
svccfg import sickbeard.smf
|
|
|
|
To enable/disable
|
|
svcadm enable sickbeard
|
|
svcadm disable sickbeard
|
|
|
|
To check if failures
|
|
svcs -xv
|
|
|
|
To check logs
|
|
tail /var/svc/log/network-sickbeard\:default.log
|
|
-->
|
|
|
|
<service_bundle type='manifest' name='sickbeard'>
|
|
|
|
<service
|
|
name='network/sickbeard'
|
|
type='service'
|
|
version='1'>
|
|
|
|
<create_default_instance enabled='false' />
|
|
<single_instance />
|
|
|
|
<!--
|
|
Only start in muti-user mode
|
|
-->
|
|
<dependency name='multi-user'
|
|
grouping='require_all'
|
|
restart_on='none'
|
|
type='service'>
|
|
<service_fmri value='svc:/milestone/multi-user' />
|
|
</dependency>
|
|
|
|
<!--
|
|
Wait for network interfaces to be initialized.
|
|
-->
|
|
<dependency name='network'
|
|
grouping='require_all'
|
|
restart_on='none'
|
|
type='service'>
|
|
<service_fmri value='svc:/milestone/network:default'/>
|
|
</dependency>
|
|
|
|
<!--
|
|
Wait for all local filesystems to be mounted.
|
|
-->
|
|
<dependency name='filesystem-local'
|
|
grouping='require_all'
|
|
restart_on='none'
|
|
type='service'>
|
|
<service_fmri value='svc:/system/filesystem/local:default'/>
|
|
</dependency>
|
|
|
|
<!-- execute as user sickbeard -->
|
|
<method_context>
|
|
<method_credential user='sickbeard' group='other' />
|
|
</method_context>
|
|
|
|
<exec_method
|
|
type='method'
|
|
name='start'
|
|
exec='/opt/sickbeard/SickBeard.py --daemon'
|
|
timeout_seconds='60'>
|
|
</exec_method>
|
|
|
|
<exec_method
|
|
type='method'
|
|
name='stop'
|
|
exec=':kill'
|
|
timeout_seconds='2'>
|
|
</exec_method>
|
|
|
|
<template>
|
|
<common_name>
|
|
<loctext xml:lang='C'>Sickbeard</loctext>
|
|
</common_name>
|
|
<documentation>
|
|
<doc_link name='sickbeard'
|
|
uri='http://www.sickbeard.com/' />
|
|
</documentation>
|
|
</template>
|
|
|
|
</service>
|
|
|
|
</service_bundle>
|
|
|