mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 05:13:01 +00:00
23 lines
564 B
Desktop File
23 lines
564 B
Desktop File
[Unit]
|
|
Description=IPFS Cluster Service ({{.NodeType}})
|
|
After=orama-ipfs-{{.NodeType}}.service
|
|
Wants=orama-ipfs-{{.NodeType}}.service
|
|
Requires=orama-ipfs-{{.NodeType}}.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{.HomeDir}}
|
|
Environment=HOME={{.HomeDir}}
|
|
Environment=CLUSTER_PATH={{.ClusterPath}}
|
|
ExecStart=/usr/local/bin/ipfs-cluster-service daemon --config {{.ClusterPath}}/service.json
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=ipfs-cluster-{{.NodeType}}
|
|
|
|
PrivateTmp=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|