I have created RPM with systemd scripts

The RPMs are built with COPR here jonny/Storj Copr

The source of the SPEC files, systemd etc: https://github.com/hegjon/storj-rpm

Still not usable for beginners, but it works great on my server.

Output from systemd:

jonny@jonny-server ~]$ systemctl status storj-storagenode@bigdisk.service 
ā— storj-storagenode@bigdisk.service - Storj Storage Node bigdisk
     Loaded: loaded (/usr/lib/systemd/system/storj-storagenode@.service; enabled; vendor preset: disabled)
     Active: active (running) since Fri 2021-09-03 10:55:45 CEST; 33min ago
   Main PID: 2323648 (storagenode)
      Tasks: 23 (limit: 38360)
     Memory: 1.1G
        CPU: 46.816s
     CGroup: /system.slice/system-storj\x2dstoragenode.slice/storj-storagenode@bigdisk.service
             ā””ā”€2323648 /usr/bin/storagenode run --config-dir /var/lib/storj-storagenode/bigdisk/storage --identity-dir ~/bigdisk/identity --console.static-dir /usr/share/storj-storagenode --metrics.app-suffix >

Sep 03 11:29:14 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:14.759+0200        INFO        piecestore        upload started        {"Piece ID": "OBLODFE3HX6WE6AFBEAHBX6ONYOOM5P662J6HLZRA5FI>
Sep 03 11:29:14 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:14.928+0200        INFO        piecestore        uploaded        {"Piece ID": "OBLODFE3HX6WE6AFBEAHBX6ONYOOM5P662J6HLZRA5FIORLBFV>
Sep 03 11:29:15 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:15.710+0200        INFO        piecestore        upload started        {"Piece ID": "7GEANE4OKQ45MR5S4C6XLUDXSCLXE4UU7IEKG5SFDF4G>
Sep 03 11:29:15 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:15.970+0200        INFO        piecestore        uploaded        {"Piece ID": "KDH2HCUVB6WYZ5QGNNZWUJHYOEM6EQUC7TFACI5Y7U55X3EQAM>
Sep 03 11:29:19 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:19.479+0200        INFO        piecestore        upload started        {"Piece ID": "57ICH6NTXJAA76PZRHFRTJBS2ZCWRDYSKLNGU62YCB2I>
Sep 03 11:29:19 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:19.718+0200        INFO        piecestore        uploaded        {"Piece ID": "57ICH6NTXJAA76PZRHFRTJBS2ZCWRDYSKLNGU62YCB2IHYILKA>
Sep 03 11:29:27 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:27.505+0200        INFO        piecestore        upload started        {"Piece ID": "VMTU3U7SGBVW6MICQGIC6YJHARULN2I6EAUANCSDDS3P>
Sep 03 11:29:27 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:27.775+0200        INFO        piecestore        uploaded        {"Piece ID": "VMTU3U7SGBVW6MICQGIC6YJHARULN2I6EAUANCSDDS3P76KQMH>
Sep 03 11:29:28 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:28.546+0200        INFO        piecestore        upload started        {"Piece ID": "MXJVKDWXIM6UZTM2G65NU6ESEMNAC5VOG5DCU2563IUI>
Sep 03 11:29:28 jonny-server.localdomain storagenode[2323648]: 2021-09-03T11:29:28.785+0200        INFO        piecestore        uploaded        {"Piece ID": "MXJVKDWXIM6UZTM2G65NU6ESEMNAC5VOG5DCU2563IUI7NO4DO>

Screenshot:
ksnip_20210903-113234

4 Likes

The RPMs are now built from source, so I have enabled Arm and PowerPC arches also

2 Likes