Last active
October 5, 2021 15:42
frappe-bench systemd
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="frappe-bench-frappe-default-worker" | |
PartOf=frappe-bench-workers.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/home/revant/.local/bin/bench worker --queue default | |
StandardOutput=file:/home/revant/frappe-bench/logs/worker.log | |
StandardError=file:/home/revant/frappe-bench/logs/worker.error.log | |
WorkingDirectory=/home/revant/frappe-bench |
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="frappe-bench-frappe-short-worker" | |
PartOf=frappe-bench-workers.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/home/revant/.local/bin/bench worker --queue long | |
StandardOutput=file:/home/revant/frappe-bench/logs/worker.log | |
StandardError=file:/home/revant/frappe-bench/logs/worker.error.log | |
WorkingDirectory=/home/revant/frappe-bench |
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="frappe-bench-frappe-schedule" | |
PartOf=frappe-bench-workers.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/home/revant/.local/bin/bench schedule | |
StandardOutput=file:/home/revant/frappe-bench/logs/schedule.log | |
StandardError=file:/home/revant/frappe-bench/logs/schedule.error.log | |
WorkingDirectory=/home/revant/frappe-bench |
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="frappe-bench-frappe-short-worker" | |
PartOf=frappe-bench-workers.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/home/revant/.local/bin/bench worker --queue short | |
StandardOutput=file:/home/revant/frappe-bench/logs/worker.log | |
StandardError=file:/home/revant/frappe-bench/logs/worker.error.log | |
WorkingDirectory=/home/revant/frappe-bench |
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="frappe-bench-frappe-web" | |
PartOf=frappe-bench-web.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/home/revant/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 4 -t 120 frappe.app:application --preload | |
StandardOutput=file:/home/revant/frappe-bench/logs/web.log | |
StandardError=file:/home/revant/frappe-bench/logs/web.error.log | |
WorkingDirectory=/home/revant/frappe-bench/sites |
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] | |
After=frappe-bench-frappe-web.service | |
Description="frappe-bench-node-socketio" | |
PartOf=frappe-bench-web.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/usr/bin/node /home/revant/frappe-bench/apps/frappe/socketio.js | |
StandardOutput=file:/home/revant/frappe-bench/logs/node-socketio.log | |
StandardError=file:/home/revant/frappe-bench/logs/node-socketio.error.log | |
WorkingDirectory=/home/revant/frappe-bench |
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="frappe-bench-redis-cache" | |
PartOf=frappe-bench-redis.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/usr/bin/redis-server /home/revant/frappe-bench/config/redis_cache.conf | |
StandardOutput=file:/home/revant/frappe-bench/logs/redis-cache.log | |
StandardError=file:/home/revant/frappe-bench/logs/redis-cache.error.log | |
WorkingDirectory=/home/revant/frappe-bench/sites |
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="frappe-bench-redis-queue" | |
PartOf=frappe-bench-redis.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/usr/bin/redis-server /home/revant/frappe-bench/config/redis_queue.conf | |
StandardOutput=file:/home/revant/frappe-bench/logs/redis-queue.log | |
StandardError=file:/home/revant/frappe-bench/logs/redis-queue.error.log | |
WorkingDirectory=/home/revant/frappe-bench/sites |
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="frappe-bench-redis-socketio" | |
PartOf=frappe-bench-redis.target | |
[Service] | |
User=revant | |
Group=revant | |
Restart=always | |
ExecStart=/usr/bin/redis-server /home/revant/frappe-bench/config/redis_socketio.conf | |
StandardOutput=file:/home/revant/frappe-bench/logs/redis-socketio.log | |
StandardError=file:/home/revant/frappe-bench/logs/redis-socketio.error.log | |
WorkingDirectory=/home/revant/frappe-bench/sites |
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] | |
After=network.target | |
Wants=frappe-bench-redis-cache.service frappe-bench-redis-queue.service frappe-bench-redis-socketio.service | |
[Install] | |
WantedBy=multi-user.target |
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] | |
After=network.target | |
Wants=frappe-bench-frappe-web.service frappe-bench-node-socketio.service | |
[Install] | |
WantedBy=multi-user.target |
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] | |
After=network.target | |
Wants=frappe-bench-frappe-default-worker.service frappe-bench-frappe-short-worker.service frappe-bench-frappe-long-worker.service frappe-bench-frappe-schedule.service | |
[Install] | |
WantedBy=multi-user.target |
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] | |
After=network.target | |
Requires=frappe-bench-web.target frappe-bench-workers.target frappe-bench-redis.target | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.