disable spiceproxy

svashtar

New Member
Aug 30, 2017
4
0
1
40
Hi,

I am using proxmox 4 and would like to disable spiceproxy service completely, meaning that it should not be automatically started on reboot.

I can't find a way to do it.

Can please someone point me in the right direction.
Thank you.
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,105
338
103
Hi you can use disable for this.

systemctl disable <service>

for more information see

Code:
man systemctl
 

svashtar

New Member
Aug 30, 2017
4
0
1
40
OK, so i was doing things right, i just wanted to make sure there is nothing else in play.
And why I asked in first place is because of an error i am getting.
While sysctl start/stop are working just fine, disable returns this:

Synchronizing state for spiceproxy.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d spiceproxy defaults
insserv: Service pveproxy has to be enabled to start service spiceproxy
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
*** Error in `systemctl': double free or corruption (fasttop): 0x00005573746dbc10 ***
Aborted

pveproxy is enabled and running

Please advise...thanks!
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,105
338
103
Sorry you have to mask the service.
The pve-manager depends on spiceproxy.
 

svashtar

New Member
Aug 30, 2017
4
0
1
40
Sorry to bother you on this.
I am not really familiar with masking the service.

What i did now is to first stop spiceproxy.
Then i did "systemctl mask spiceproxy.service" - which created symlink successfully.
After that i have tried to disable it again, but i still get the same error.

Would you please be so kind and walk me through the steps?

BR
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,105
338
103
If you have mask the service it is gone, you don't have to disable it.

But service masking is the strictest form to disable a service. This means the symlink to null stays as long the system exists or it will manually unmask.
 

svashtar

New Member
Aug 30, 2017
4
0
1
40
Ah, ok. Will try to reboot the server to see if it is really effective.
Thanks for helping me!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!