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
|
||||
WorkingDirectory=MAKEFILE_PWD
|
||||
Restart=on-failure
|
||||
Nice=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
||||
ExecStart=MAKEFILE_GOBIN/nano-backup
|
||||
WorkingDirectory=MAKEFILE_PWD
|
||||
Restart=on-failure
|
||||
Nice=15
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
||||
ExecStart=MAKEFILE_PWD/bots/discord/discord
|
||||
WorkingDirectory=MAKEFILE_PWD
|
||||
Restart=on-failure
|
||||
Nice=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
||||
ExecStart=MAKEFILE_GOBIN/imageserver
|
||||
WorkingDirectory=MAKEFILE_PWD
|
||||
Restart=on-failure
|
||||
Nice=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
||||
ExecStart=MAKEFILE_GOBIN/japanese
|
||||
WorkingDirectory=MAKEFILE_PWD
|
||||
Restart=on-failure
|
||||
Nice=1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -8,6 +8,7 @@ User=MAKEFILE_USER
|
||||
ExecStart=MAKEFILE_PWD/jobs/jobs
|
||||
WorkingDirectory=MAKEFILE_PWD
|
||||
Restart=on-failure
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user