Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.targetCreate a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| atom.commands.add 'atom-text-editor', | |
| 'user:toggle-vim-mode': (event) -> | |
| if atom.packages.isPackageDisabled("vim-mode-plus") | |
| atom.packages.enablePackage("vim-mode-plus") | |
| else | |
| atom.packages.disablePackage("vim-mode-plus") |
| import passport from 'passport'; | |
| module.exports = app => { | |
| app.get('/findUser', (req, res, next) => { | |
| passport.authenticate('jwt', { session: false }, (err, user, info) => { | |
| if (err) { | |
| console.log(err); | |
| } | |
| if (info != undefined) { | |
| console.log(info.message); |