orama/pkg/environments/templates/systemd_ipfs_cluster.service

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