[Feat] Split Daemon & TUI
This commit is contained in:
parent
f82500ea7d
commit
36a70e82a0
35 changed files with 970 additions and 239 deletions
16
systemd/iota-daemon.service
Normal file
16
systemd/iota-daemon.service
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=Tensamin Iota daemon
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
Requires=iota-daemon.socket
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/iota-daemon
|
||||
Restart=on-failure
|
||||
RuntimeDirectory=iota
|
||||
RuntimeDirectoryMode=0750
|
||||
Environment=IOTA_SOCKET=/run/iota/iota.sock
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
12
systemd/iota-daemon.socket
Normal file
12
systemd/iota-daemon.socket
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Tensamin Iota daemon IPC socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/iota/iota.sock
|
||||
SocketMode=0660
|
||||
SocketUser=iota
|
||||
SocketGroup=iota
|
||||
RemoveOnStop=true
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Loading…
Reference in a new issue