RADLib
RADical C++ application framework
RADService Namespace Reference

Classes

struct  ServiceUnit
 Systemd service unit description. More...
 
class  SingleInstanceLock
 Single-instance app lock using RADCore::RADLockFile. More...
 
class  ServiceManager
 Service helper methods. More...
 

Enumerations

enum class  RestartPolicy { No , OnFailure , Always }
 Restart policy for generated service units. More...
 

Enumeration Type Documentation

◆ RestartPolicy

Restart policy for generated service units.

Enumerator
No 

Never restart.

OnFailure 

Restart on abnormal failure.

Always 

Always restart.