Created
September 16, 2017 10:50
-
-
Save krmnn/865ce29ae40aceb4d30a5283e2d25503 to your computer and use it in GitHub Desktop.
xBrowserSync-API systemd service file
This file contains hidden or 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
[Unit] | |
Description=xBrowserSync is a free tool for syncing browser data between different browsers and devices, built for privacy and anonymity. | |
After=syslog.target | |
After=network.target | |
After=mongod.service | |
[Service] | |
Type=simple | |
User=xbrowsersync | |
Group=xbrowsersync | |
WorkingDirectory=/home/xbrowsersync | |
Environment=XBROWSERSYNC_DB_USER=xbrowsersyncdb XBROWSERSYNC_DB_PWD=db_password | |
ExecStart=/usr/bin/node /home/xbrowsersync/src/xBrowserSync-API/api.js | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment