blob: 5a6d723648539f090dd455c91525e8b6a540b4f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Web based remote computer management and file server
Wants=network-online.target
After=network-online.target nss-lookup.target
[Service]
Type=simple
LimitNOFILE=1000000
ExecStart=/usr/bin/node /usr/lib/node_modules/meshcentral
WorkingDirectory=/var/lib/meshcentral
Environment=NODE_ENV=production
User=meshcentral
Group=meshcentral
RestartSec=10
AmbientCapabilities=cap_net_bind_service
[Install]
WantedBy=multi-user.target
|