Ubuntu Pastebin

Paste from Chipaca at Wed, 22 Jul 2015 09:26:28 +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
(amd64)ubuntu@localhost:~$ ./snp list
Name           Date       Version Developer 
ubuntu-core    2015-07-21 114     ubuntu    
hello-dbus-fwk 2015-07-21 1.0.1   canonical 
spongeshaker   2015-07-21 0       sideload  
xkcd-webserver 2015-07-21 0.5     canonical 
generic-amd64  2015-07-21 1.4     canonical 
(amd64)ubuntu@localhost:~$ ./snp service status
Snap		Service		Load state	Active state	Sub-state
hello-dbus-fwk	srv		loaded		active		running
xkcd-webserver	xkcd-webserver	loaded		active		running
(amd64)ubuntu@localhost:~$ ./snp service stop xkcd-webserver
this command requires root access. Please re-run using 'sudo'
(amd64)ubuntu@localhost:~$ sudo ./snp service stop xkcd-webserver
Waiting for xkcd-webserver_xkcd-webserver_0.5.service to stop.
(amd64)ubuntu@localhost:~$ ./snp service status
Snap		Service		Load state	Active state	Sub-state
hello-dbus-fwk	srv		loaded		active		running
xkcd-webserver	xkcd-webserver	loaded		inactive	dead
(amd64)ubuntu@localhost:~$ sudo ./snp service stop
Waiting for hello-dbus-fwk_srv_1.0.1.service to stop.
Waiting for xkcd-webserver_xkcd-webserver_0.5.service to stop.
(amd64)ubuntu@localhost:~$ ./snp service status
Snap		Service		Load state	Active state	Sub-state
hello-dbus-fwk	srv		loaded		inactive	dead
xkcd-webserver	xkcd-webserver	loaded		inactive	dead
(amd64)ubuntu@localhost:~$ sudo ./snp service start xkcd-webserver
(amd64)ubuntu@localhost:~$ sudo ./snp service start
(amd64)ubuntu@localhost:~$ ./snp service status
Snap		Service		Load state	Active state	Sub-state
hello-dbus-fwk	srv		loaded		active		running
xkcd-webserver	xkcd-webserver	loaded		active		running
(amd64)ubuntu@localhost:~$ 
Download as text