Project

General

Profile

Actions

Bug #4821

closed

Update working dir in systemd unit files

Added by keith over 3 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/20/2020
Due date:
% Done:

100%

Spec Reference:

Description

For services running from systemd, we should add WorkingDirectory= directives

Some services may create files in CWD on startup.
This can be overridden by configuration directives, for example gtp state-dir in osmo-{sgsn|ggsn}

These directive should be deprecated/hidden in the future.


Related issues

Related to Cellular Network Infrastructure - Feature #4107: Start systemd services as non-root userIn Progressosmith07/15/2019

Actions
Related to OsmoSGSN - Bug #4820: gsn_restart is created in CWDResolvedkeith10/19/202010/20/2020

Actions
Related to OsmoMSC - Bug #4735: sms.db is created in cwd, which from systemd's point of view is /Closed08/28/2020

Actions
Related to OsmoMSC - Bug #5661: sms.db files not in proper directory / backtrace on old sms.dbResolvedmsuraev08/24/2022

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)