When maintenance of an unreliable system is carried out by an external
service agent, under a service contract, both the user and the servic
e agent need to choose their decisions optimally to maximize their exp
ected profits. The paper develops a game-theoretic framework for both
parties to determine their optimal strategies.