LocalAuthority / deploy / jumper / host-manager-mdns.service
Newer Older
23 lines | 0.73kb
Bogdan Timofte authored 5 days ago
1
[Unit]
2
Description=Xdev Host Manager mDNS Seed Listener
Bogdan Timofte authored 4 days ago
3
After=network-online.target host-manager.service
4
Wants=network-online.target host-manager.service
Bogdan Timofte authored 5 days ago
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
ExecStartPre=+/usr/bin/install -d -o host-manager -g host-manager /usr/local/xdev-host-manager/var
Bogdan Timofte authored 4 days ago
13
ExecStart=/usr/bin/perl /usr/local/xdev-host-manager/scripts/mdns_host_seed.pl --db /usr/local/xdev-host-manager/var/host-manager.sqlite
Bogdan Timofte authored 5 days ago
14
Restart=on-failure
15
RestartSec=3
16
NoNewPrivileges=true
17
PrivateTmp=true
18
ProtectSystem=full
19
ProtectHome=true
20
ReadWritePaths=/usr/local/xdev-host-manager/var
21

            
22
[Install]
23
WantedBy=multi-user.target