(ページの作成:「=apacheユーザのumask値を変更する-systemd編= ==環境== # cat /etc/redhat-release Fedora release 18 (Spherical Cow) * init.dの場合は[[apacheユーザ...」)
 
 
26行目: 26行目:
 
  systemd[1]: Reloading.
 
  systemd[1]: Reloading.
 
  systemd[1]: [/etc/systemd/system/httpd.service:4] Unknown lvalue 'umask' in section 'Service'. Ignoring.
 
  systemd[1]: [/etc/systemd/system/httpd.service:4] Unknown lvalue 'umask' in section 'Service'. Ignoring.
 +
 +
[[Category:Linux]]
 +
[[Category:Apache]]

2013年4月20日 (土) 22:56時点における最新版

apacheユーザのumask値を変更する-systemd編

環境

# cat /etc/redhat-release
Fedora release 18 (Spherical Cow)

背景

umask値の変更

/etc/systemd/system/httpd.service ファイルを作成します。

.include /lib/systemd/system/httpd.service
[Service]
UMask=002

確認

systemctl --system daemon-reload
journalctl -n
  • キーワードが厳密で、下記のようなエラーが出ていることがあります。
systemd[1]: Reloading.
systemd[1]: [/etc/systemd/system/httpd.service:4] Unknown lvalue 'umask' in section 'Service'. Ignoring.

facebook slideshare rubygems github qiita