Set appropriate nice values for services
This commit is contained in:
parent
506fa96e59
commit
3bfacb7e79
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
|||||||
ExecStart=MAKEFILE_PWD/notify.moe
|
ExecStart=MAKEFILE_PWD/notify.moe
|
||||||
WorkingDirectory=MAKEFILE_PWD
|
WorkingDirectory=MAKEFILE_PWD
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Nice=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
|||||||
ExecStart=MAKEFILE_GOBIN/nano-backup
|
ExecStart=MAKEFILE_GOBIN/nano-backup
|
||||||
WorkingDirectory=MAKEFILE_PWD
|
WorkingDirectory=MAKEFILE_PWD
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Nice=15
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
|||||||
ExecStart=MAKEFILE_PWD/bots/discord/discord
|
ExecStart=MAKEFILE_PWD/bots/discord/discord
|
||||||
WorkingDirectory=MAKEFILE_PWD
|
WorkingDirectory=MAKEFILE_PWD
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Nice=5
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
|||||||
ExecStart=MAKEFILE_GOBIN/imageserver
|
ExecStart=MAKEFILE_GOBIN/imageserver
|
||||||
WorkingDirectory=MAKEFILE_PWD
|
WorkingDirectory=MAKEFILE_PWD
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Nice=2
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
|||||||
ExecStart=MAKEFILE_GOBIN/japanese
|
ExecStart=MAKEFILE_GOBIN/japanese
|
||||||
WorkingDirectory=MAKEFILE_PWD
|
WorkingDirectory=MAKEFILE_PWD
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Nice=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
|||||||
ExecStart=MAKEFILE_PWD/jobs/jobs
|
ExecStart=MAKEFILE_PWD/jobs/jobs
|
||||||
WorkingDirectory=MAKEFILE_PWD
|
WorkingDirectory=MAKEFILE_PWD
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Nice=10
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user