Dondariadmin (トーク | 投稿記録) (ページの作成:「=apacheユーザのumask値を変更する-systemd編= ==環境== # cat /etc/redhat-release Fedora release 18 (Spherical Cow) * init.dの場合は[[apacheユーザ...」) |
Dondariadmin (トーク | 投稿記録) |
||
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]] |
# cat /etc/redhat-release Fedora release 18 (Spherical Cow)
/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.Tweet