|
Xdev Host Manager
authored
2 days ago
|
1
|
[Unit]
|
|
|
2
|
Description=Xdev Host Manager
|
|
|
3
|
After=network-online.target
|
|
|
4
|
Wants=network-online.target
|
|
|
5
|
|
|
|
6
|
[Service]
|
|
|
7
|
Type=simple
|
|
|
8
|
User=host-manager
|
|
|
9
|
Group=host-manager
|
|
|
10
|
WorkingDirectory=/usr/local/xdev-host-manager
|
|
|
11
|
EnvironmentFile=/etc/xdev/host-manager.env
|
|
|
12
|
ExecStart=/usr/bin/perl /usr/local/xdev-host-manager/scripts/host_manager.pl --bind 127.0.0.1 --port 8088
|
|
|
13
|
Restart=on-failure
|
|
|
14
|
RestartSec=3
|
|
|
15
|
NoNewPrivileges=true
|
|
|
16
|
PrivateTmp=true
|
|
|
17
|
ProtectSystem=full
|
|
|
18
|
ProtectHome=true
|
|
|
19
|
ReadWritePaths=/usr/local/xdev-host-manager /usr/local/xdev-host-manager/backups
|
|
|
20
|
|
|
|
21
|
[Install]
|
|
|
22
|
WantedBy=multi-user.target
|