blob: 724106c1709bb1f9232c03f6da425fd4fec508e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Duplicati.WindowsService
{
//[System.ComponentModel.RunInstaller(true)]
public class ServiceInstaller : System.ServiceProcess.ServiceInstaller
{
public ServiceInstaller()
{
this.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
this.ServiceName = ServiceControl.SERVICE_NAME;
this.DisplayName = ServiceControl.DISPLAY_NAME;
this.Description = ServiceControl.DESCRIPTION;
}
}
}
|