Ubuntu Pastebin

Paste from popey at Thu, 8 Sep 2016 16:29:53 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
alan@gort:~/Development/Snappy/syncthing$ cat snapcraft.yaml 
name: syncthing
version: "0.14.6"
summary: syncthing
description: |
  Open Source Continuous File Synchronization

confinement: strict
grade: devel

apps:
  syncthing:
    command: env GOMAXPROCS=1 $SNAP/syncthing -verbose -logfile=$SNAP_USER_DIR/syncthing.log
    daemon: simple
    plugs: [network, network-bind, browser-support]

parts:
  syncthing:
    source: https://github.com/syncthing/syncthing/releases/download/v0.14.6/syncthing-linux-amd64-v0.14.6.tar.gz
    plugin: copy
    files:
      '*': './'


alan@gort:~/Development/Snappy/syncthing$ snapcraft 
DEPRECATED: The 'copy' plugin's functionality has been replaced by the 'dump' plugin, and it will soon be removed.
Preparing to pull syncthing 
Pulling syncthing 
Downloading 'syncthing-linux-amd64-v0.14.6.tar.gz'[====================================================================================================================] 100%
Preparing to build syncthing 
Building syncthing 
Staging syncthing 
Priming syncthing 
Snapping 'syncthing' /                                                                                                                                        
Snapped syncthing_0.14.6_amd64.snap

alan@gort:~/Development/Snappy/syncthing$ sudo snap install syncthing_0.14.6_amd64.snap --force-dangerous

syncthing 0.14.6 installed


alan@gort:~/Development/Snappy/syncthing$ systemctl status snap.syncthing.syncthing.service
● snap.syncthing.syncthing.service - Service for snap application syncthing.syncthing
   Loaded: loaded (/etc/systemd/system/snap.syncthing.syncthing.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Thu 2016-09-08 17:28:50 BST; 6s ago
  Process: 9834 ExecStart=/usr/bin/ubuntu-core-launcher snap.syncthing.syncthing snap.syncthing.syncthing /snap/syncthing/x3/command-syncthing.wrapper (code=exited, status=1
 Main PID: 9834 (code=exited, status=1/FAILURE)

Sep 08 17:28:50 gort systemd[1]: snap.syncthing.syncthing.service: Unit entered failed state.
Sep 08 17:28:50 gort systemd[1]: snap.syncthing.syncthing.service: Failed with result 'exit-code'.
Sep 08 17:28:50 gort systemd[1]: snap.syncthing.syncthing.service: Service hold-off time over, scheduling restart.
Sep 08 17:28:50 gort systemd[1]: Stopped Service for snap application syncthing.syncthing.
Sep 08 17:28:50 gort systemd[1]: snap.syncthing.syncthing.service: Start request repeated too quickly.
Sep 08 17:28:50 gort systemd[1]: Failed to start Service for snap application syncthing.syncthing.
Download as text