mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-11 08:18:49 +00:00
- Renamed the node executable from `node` to `orama-node` in the Makefile and various scripts to reflect the new naming convention. - Updated the gateway command to `orama-gateway` for consistency. - Modified service configurations and systemd templates to ensure proper execution of the renamed binaries. - Enhanced the interactive installer to prompt for the gateway URL, allowing users to select between local and remote nodes. - Added functionality to extract domain information for TLS configuration, improving security for remote connections.
28 lines
636 B
Desktop File
28 lines
636 B
Desktop File
[Unit]
|
|
Description=DeBros Network Node ({{.NodeType}})
|
|
After=debros-ipfs-cluster-{{.NodeType}}.service
|
|
Wants=debros-ipfs-cluster-{{.NodeType}}.service
|
|
Requires=debros-ipfs-cluster-{{.NodeType}}.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=debros
|
|
Group=debros
|
|
WorkingDirectory={{.HomeDir}}
|
|
Environment=HOME={{.HomeDir}}
|
|
ExecStart={{.HomeDir}}/bin/orama-node --config {{.OramaDir}}/configs/{{.ConfigFile}}
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=debros-node-{{.NodeType}}
|
|
|
|
NoNewPrivileges=yes
|
|
PrivateTmp=yes
|
|
ProtectSystem=strict
|
|
ReadWritePaths={{.OramaDir}}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|