cmake - Debian package:user and group -


Recently, I use cmake / cpack to create a Debian package. I become successful. But I install it on a computer (Sudo Dpkg -i mypcakge.deb), I get a problem: The user and group of the installation program is root: root. Due to some reason, my problem should be run in a specific user / group. I do not know how to do this, can you help me?

Also, after installing the package I do not want to modify the user and the group with the cron (..). How to add something to CMakeLists?


Comments

Popular posts from this blog

c# - Reactive Extensions ControlScheduler -

ios - How to determine if NSLayoutConstraint is horizontal or vertical? -

javascript - Enable/Disable form elements and changing the values of button at a time? -