Snapcraft configuration #23

開放中
Ghost 請求將 1 次程式碼提交從 (deleted):feat/snapcraft 合併至 next
First-time contributor

This pr adds the necessary files to build telebit as a snap

Following things need to get fixed:

  • Unsure if the description is the best, just took some stuff from readme
  • When launching telebit it tries to reload the service. Potentially because telebitd runs in isolated system-space and telebit-remote runs in userspace
(unix socket: /home/maciej/snap/telebit/x1/.local/share/telebit/var/run/telebit.sock)

/snap/telebit/x1/lib/node_modules/telebit/bin/telebit-remote.js:309
    if (err) { throw err; }
               ^

Error: Command failed: systemctl --user daemon-reload
/bin/sh: 1: systemctl: Permission denied

    at ChildProcess.exithandler (child_process.js:289:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Socket.stream.socket.on (internal/child_process.js:381:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close (net.js:606:12)
This pr adds the necessary files to build telebit as a snap Following things need to get fixed: - [ ] Unsure if the description is the best, just took some stuff from readme - [ ] When launching `telebit` it tries to reload the service. Potentially because telebitd runs in isolated system-space and telebit-remote runs in userspace ``` (unix socket: /home/maciej/snap/telebit/x1/.local/share/telebit/var/run/telebit.sock) /snap/telebit/x1/lib/node_modules/telebit/bin/telebit-remote.js:309 if (err) { throw err; } ^ Error: Command failed: systemctl --user daemon-reload /bin/sh: 1: systemctl: Permission denied at ChildProcess.exithandler (child_process.js:289:12) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe._handle.close (net.js:606:12) ```
擁有者

What I need to do is move the system loader into the installer and completely out of the main library.

What I need to do is move the system loader into the installer and completely out of the main library.
作者
First-time contributor

The main reason, I guess, is that the socket is in /root/snap/telebit/ and the user's client searches for it at $HOME/snap/telebit

The main reason, I guess, is that the socket is in `/root/snap/telebit/` and the user's client searches for it at `$HOME/snap/telebit`
此合併請求已損毀,因為遺失 Fork 資訊。
登入 才能加入這對話。
沒有審核者
未選擇標籤
feature
未選擇里程碑
沒有負責人
2 參與者
通知
截止日期
截止日期無效或超出範圍,請使用「yyyy-mm-dd」的格式。

未設定截止日期。

先決條件

未設定先決條件。

參考: coolaj86/telebit.js#23
No description provided.