This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b39d75e
commit 57c3227
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"policy_groups": [], | ||
"policy_version": 1.3, | ||
"template": "unconfined" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Desktop Entry] | ||
Name=Syncthing | ||
Comment="Syncthing is a continuous file synchronization program" | ||
Type=Application | ||
Icon=syncthing.png | ||
Exec=syncthing.sh | ||
Terminal=false | ||
X-Ubuntu-Touch=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "syncthing.zeropointenergy", | ||
"description": "Syncthing is a continuous file synchronization program", | ||
"architecture": "armhf", | ||
"title": "Syncthing", | ||
"hooks": { | ||
"Syncthing": { | ||
"apparmor": "Syncthing.apparmor", | ||
"desktop": "Syncthing.desktop" | ||
} | ||
}, | ||
"version": "0.14.31", | ||
"maintainer": "Jakob Borg", | ||
"framework" : "ubuntu-sdk-15.04.6" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# make sure syncthing gets started if it is not already | ||
# running when starting the webui | ||
pgrep -u $USER -x syncthing > /dev/null || syncthing -no-browser & | ||
|
||
# wait until the web ui responds | ||
until $(wget -O /dev/null -q http://127.0.0.1:8384); do sleep 1; done | ||
|
||
# show the web ui in the webapp-container | ||
webapp-container --webappUrlPatterns=https?://127.0.0.1:8384/* http://127.0.0.1:8384/ %u | ||
|