Project

General

Profile

Bug #4821

Update working dir in systemd unit files

Added by keith about 1 month ago.

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

0%

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 userNew07/15/2019

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

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

History

#1 Updated by keith about 1 month ago

  • Related to Feature #4107: Start systemd services as non-root user added

#2 Updated by keith about 1 month ago

  • Related to Bug #4820: gsn_restart is created in CWD added

#3 Updated by keith about 1 month ago

  • Related to Bug #4735: sms.db is created in cwd, which from systemd's point of view is / added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)