Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Sick-Beard
Commits
0fe9e0f7
Commit
0fe9e0f7
authored
Apr 23, 2011
by
Geoffrey Huntley
Browse files
Options
Downloads
Patches
Plain Diff
Added solaris 11 service management facility (init.d) config
parent
f5d7eb5b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.solaris11
+95
-0
95 additions, 0 deletions
init.solaris11
with
95 additions
and
0 deletions
init.solaris11
0 → 100644
+
95
−
0
View file @
0fe9e0f7
<?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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment