Questions tagged [service-management]

22 questions
11
votes
1 answer

zend framework 2 service manager difference between invokables and factories

Hi i'm new to zend framework. try to catch up on the service manager. base on the zend framework documentation , it said: factories, an array of service name/factory class name pairs. The factories should be either classes implementing…
Yan Zhao
  • 185
  • 1
  • 8
11
votes
4 answers

Why use the Service Manager in Zend Framework 2?

lets say i have a service: namespace Helloworld\Service; class GreetingService { public function getGreeting() { if(date("H") <= 11) return "Good morning, world!"; else if (date("H") > 11 && date("H") < 17) …
Patrioticcow
  • 26,422
  • 75
  • 217
  • 337
7
votes
1 answer

SMLoginItemSetEnabled returns success but doesn’t add login item

I’m trying to add a login item to a macOS app. The app is set to agent in its plist so it has no dock icon, hides its main window in launch, and places an icon in the status bar to provide its UI. To add the login item, I have: Created a new macOS…
mashers
  • 1,009
  • 7
  • 22
3
votes
1 answer

SMJobBless.py script doesn't work on M1 Macs

The SMJobBlessUtil.py script (which Apple provides for setting/checking the pairing between a privileged helper tool and its main app) does not work on M1 Macs. $ ./SMJobBlessUtil.py check…
Alexander
  • 59,041
  • 12
  • 98
  • 151
3
votes
4 answers

Uninstalling items installed by an .app when user deletes it, including SMJobBless helpers

The short version: is it possible to delete helper tools which were set up by the app (SMJobBless() etc.) when the app is deleted? If so, how? The long version: The Mac app we are developing unfortunately requires admin privileges to perform an…
pmdj
  • 22,018
  • 3
  • 52
  • 103
2
votes
1 answer

how to manually restart or stop virtuoso from commandline

I have a new installed Virtuoso (from github > 7.2.4) on a Debian jessie system. It starts properly after boot. How to stop, start, and restart manually the virtuoso web server? It starts after reboot. How can this be achieved from the command line?…
user855443
  • 2,596
  • 3
  • 25
  • 37
2
votes
0 answers

Sandboxing in pyobjc : Login at startup

I have a pyobjc app which I am packaging with py2app. I also have a checkbox using which the user can choose to add the app to start when the system is restarted. I was doing this with LaunchServices, however, this does not work when the app is…
Pradeep Vairamani
  • 4,004
  • 3
  • 36
  • 59
1
vote
1 answer

SMAppService register() - How to detect launch at startup/login vs regular launch?

We use the new MacOS Ventura SMAppService functionality to offer a "Launch at Login" feature to our users. We do this in a very straightforward way: SMAppService.mainApp.register() We'd like to do some specific processing if we are launched at…
Mark Mc
  • 23
  • 7
1
vote
1 answer

Best way to Register a Login Item from a Preference Pane?

I'm trying to make a Preference Pane which registers a helper app as a login item. I have both apps in the same project and I managed to add helper.app to my.prefpane's App Bundle, but I can't figure out how to enable helper.app as a login…
1
vote
1 answer

Powershell workflow function issue

I´m trying to reuse code on my SMA runbooks but everything I try to put inside a function doesn´t seem to work as expected. For example, If I do this it works and returns the username of the credential: workflow RB_Test { $credent =…
1
vote
2 answers

check which applications enable SMLoginItemSetEnabled

How to check which applications enabling SMLoginItemSetEnabled? Terminal or which folder, file contains it? I run 2 applications below but it can't launch at login => I need check helper app is enabling or…
Huynh Inc
  • 2,010
  • 1
  • 25
  • 42
0
votes
0 answers

How can I trigger reopening of Jira Service Management tickets 6 months after creation for audit?

Reopen a Jira Service Management ticket 6 months after it was created. We have a business flow requiring an audit (review) of tickets at both 6 months and a year after the ticket was initially created. I've adjusted the workflows for these specific…
0
votes
0 answers

Is there a way to allow users with a certain security role ability to pause SLAs on case records in Dynamics 365

Can we assign a security role to a user to allow them to pause SLAs or is it anyone that has access to SLA entity? I only want users in a support team security group to have this ability
0
votes
0 answers

Is there is a way to configure Team Management using Hierarchy in Jira Service Management ITSM projects?

I am trying to make an organogram as show below. Organogram example On the basis of above organogram, I can configure users on each level, also I need this concept in Dashboards, reports and even in escalation alerts. I have to configure…
0
votes
2 answers

How is the database location decided when creating a copy using SQL Management client API?

This is the code to create a database copy in Azure using service management api's SqlManagementClient sqlClient = new SqlManagementClient sqlClient (); DatabaseCopyCreateParameters newDatabaseParameters = new DatabaseCopyCreateParameters() …
1
2