From 57cf05f655fc3845df8694dd08bbfaaaf70be3ff Mon Sep 17 00:00:00 2001
From: l-n-s
Published for :penguin: with :gift_heart: by Snapcrafters
@@ -29,8 +49,8 @@ upstream so [i2pd](https://github.com/PurpleI2P/i2pd) can authoritatively publis - If you have already forked the Snapcrafter template to your account and want to create another snap, you'll need to use GitHub's [Import repository](https://github.com/new/import) feature because you can only fork a repository once. - [x] Rename the forked Snapcrafters template repository - [x] Update logos and references to `[Project]` and `[my-snap-name]` - - [ ] Create a snap that runs in `devmode` - - [ ] Register the snap in the store, **using the preferred upstream name** + - [x] Create a snap that runs in `devmode` + - [x] Register the snap in the store, **using the preferred upstream name** - [x] Add a screenshot to this `README.md` - [x] Publish the `devmode` snap in the Snap store edge channel - [x] Add install instructions to this `README.md` diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3479c27..1854d95 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -23,6 +23,10 @@ apps: command: i2pd-wrapper daemon: simple plugs: [network,network-bind] + graceful-shutdown: + command: kill -2 `cat $SNAP_USER_DATA/.i2pd/i2pd.pid` + reload-tunnels-conf: + command: kill -1 `cat $SNAP_USER_DATA/.i2pd/i2pd.pid` parts: i2pd: