mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
pretty...
This commit is contained in:
parent
beaf0cf939
commit
afafc6b032
285 changed files with 32688 additions and 784 deletions
37
CassiniDev/Misc/ServiceInstaller.cs
Normal file
37
CassiniDev/Misc/ServiceInstaller.cs
Normal file
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Configuration.Install;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
using System.Configuration;
|
||||
namespace CassiniDev
|
||||
{
|
||||
|
||||
|
||||
[RunInstaller(true)]
|
||||
public sealed class MyServiceInstallerProcess : ServiceProcessInstaller
|
||||
{
|
||||
public MyServiceInstallerProcess()
|
||||
{
|
||||
this.Account = ServiceAccount.NetworkService;
|
||||
|
||||
}
|
||||
}
|
||||
[RunInstaller(true)]
|
||||
public sealed class MyServiceInstaller : ServiceInstaller
|
||||
{
|
||||
public MyServiceInstaller()
|
||||
{
|
||||
|
||||
|
||||
this.Description = "CassiniDev";
|
||||
this.DisplayName = "CassiniDev";
|
||||
this.ServiceName = "CassiniDev";
|
||||
this.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue